Repository navigation
Slider view in report.html - #97
Merged
Merged
Conversation
A sidebar "Slider view" toggle swaps each card's left/right/diff images for both shots stacked with tops aligned and a full-height range input as the divider, so a few-pixel shift can be dragged across in place. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a slider view to
report.html. A Slider view checkbox at the top of the sidebar swaps every card's left / right / diff grid for both shots stacked, tops aligned (the taller side's extra rows show below), with a divider that reveals left on one side and right on the other.body:has(#slide:checked)). The grid stays the default and nothing is persisted. Lazy images in the hidden view aren't loaded until it's shown.<input type="range">over the stack, so a drag can start anywhere on a tall shot. Keyboard arrows work, and focus shows as an outline on the slider. Two lines of inline JS copy its value into--x, which drivesclip-pathon the left shot and the divider line.<a href>, so a card still links exactly its three images.evidence.htmlis unchanged: its CSP blocks script, and it shows only crops.Fixes #43
Verification
npm run typecheck,npm run lint,npm run format:check: cleannpm test: 358/358, including a newwriteReporttest for the toggle and slider markup and the three image linksnpm run test:visual: 389/389/taller,/shifted,/color):🤖 Generated with Claude Code