Repository navigation
Snapshot page: images at their own size with zoom, a draggable slider, comments in every view - #14
Closed
ndbroadbent wants to merge 1 commit into
Closed
ndbroadbent wants to merge 1 commit into
ndbroadbent wants to merge 1 commit into
Conversation
ndbroadbent
force-pushed
the
snapshot-zoom
branch
from
December 2, 2026 04:38
805427d to
a38e07d
Compare
VisualCIdocspring/visualci · build #110 · 49 changed, 244 unchanged · closed without review This PR vs base: 76 changed, 1 added, 8 removed since #97, across 2 builds · 37 not approved yet
Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
snapshot-views
branch
from
December 2, 2026 05:08
0e65df8 to
cac0a7c
Compare
… from -2x/@2x names), fitted to the screen by default, with Fit/100%/200% zoom (z, or click an image) shared by every view; the slider's divider follows a press anywhere on the image, with a grab handle, touch and arrow keys, and no range input (also in the PDF compare tool); comments in every view (diff: this build; slider: the side where the press starts, the divider by its handle while commenting; baseline and this build: the image shown), with the hint centred in the page header
ndbroadbent
force-pushed
the
snapshot-zoom
branch
from
December 2, 2026 05:08
a38e07d to
cf9efe7
Compare
This was referenced Dec 2, 2026
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.
Nathan's three asks on the snapshot page. Stacked on #7 (snapshot views): GitHub moves the base to main when #7 merges.
1. Images at their own size, with zoom. Phone screenshots were stretched to half the page's width each, which made the page enormously long.
…-2xand@2x, else 1.zcycles it, and a click on an image zooms in and keeps the clicked point under the pointer (Fit → 100%, or 200% if it's already at its own size; another click goes back to Fit). Both sides and the diff share it, and an image zoomed past its column scrolls sideways.2. The slider.
ew-resizeover the image.SliderStage).3. Comments in every mode.
Tests:
comment-pins.test.tsx: a pin made in each mode lands on the right image at the right pixels; in the slider, the clips follow the divider, a press while commenting doesn't move it, and the handle and arrow keys still do; without comment mode, a press moves it, a drag follows, and there's no range input; the hint shows only in comment mode.zoom.test.ts: capture scale, widths never above the image's own size, and click zoom steps.Checked on the dev server (headless, 1440×900 light and dark, and 390×844), with the demo's phone pair (
dashboard/390-light) and desktop pair:Review: the snapshot page screenshots change (the zoom control in the review bar; images at their own size; the slider's handle and caption, with no range input).