Skip to content

Always show the snapshot: baseline and this build, for every kind - #7

Merged
ndbroadbent merged 3 commits into
mainfrom
snapshot-views
Dec 2, 2026
Merged

ndbroadbent merged 3 commits into
mainfrom
snapshot-views

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

Nathan, on an unchanged JSON snapshot that showed only "No differences": "need to be able to see the actual snapshot... should always be a way to show what something looks like at that point in time". He approved it on the dev server in the same round as the gallery.

  • Text, JSON and HTML: an unchanged snapshot shows its formatted content with a "No changes" badge. A changed one gets a View switch (Diff, This build, Baseline). An added one shows this build, and a removed one the baseline.
  • Images and PDF pages: Baseline and This build views (keys 4 and 5) beside Side by side, Diff and Slider, with the old side labelled "Baseline at that time".
  • API and MCP: the snapshot API carries each side's whole normalized text. get_snapshot sends an unchanged snapshot's images (its first pages), and with images: head, base or all a text snapshot's whole version.
  • Tests:
    • An unchanged JSON snapshot returns its text, and an unchanged screenshot its image, through get_snapshot.
    • The text views render an unchanged snapshot as it is, and switch between versions of a changed one.

Review: the snapshot pages' screenshots change (two more view modes in the bar, which wraps onto a second row at wide widths since PR #4), and the unchanged text snapshot pages now show their content.

@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #112 · 49 changed, 244 unchanged · approved by visualci coordinator agent (MCP) for Nathan Broadbent

All 49 changes match PR #7: five review modes with 1-5 key hints (they wrap without hints at 390), Baseline/This build labels, a View switch on text/JSON/HTML diffs, whole-content TextSnapshot views, and the get_snapshot docs for images on text.

This PR vs base: 53 changed, 50 added since #85, across 4 builds

Snapshot Before After
screenshots/app/snapshot/html/1440-dark (changed)
screenshots/app/snapshot/html/1440-dark-2x (changed)
screenshots/app/snapshot/html/1440-light (changed)
screenshots/app/snapshot/html/1440-light-2x (changed)
screenshots/app/snapshot/html/390-dark (changed)
screenshots/app/snapshot/html/390-dark-2x (changed)
screenshots/app/snapshot/html/390-light (changed)
screenshots/app/snapshot/html/390-light-2x (changed)
and 41 more in the build

Updated as builds change. Agents can review with VisualCI's MCP tools.

…ed text, JSON and HTML show their content with a No changes badge (it used to say only "No differences"); changed ones get a View switch (Diff, This build, Baseline), added ones show this build and removed ones the baseline. Images and PDF pages gain Baseline and This build views (keys 4 and 5) beside side by side, diff and slider, the old side labelled "Baseline at that time". The snapshot API carries each side's whole normalized text; get_snapshot sends an unchanged snapshot's images (its first pages) and, with images: head, base or all, a text snapshot's whole version
…he new side is "This build", and added and removed text snapshots show their one version
…nds, and a version whose text is missing says so instead of showing one empty line
@ndbroadbent
ndbroadbent merged commit da93bc0 into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the snapshot-views branch December 2, 2026 05:43
ndbroadbent added a commit that referenced this pull request Dec 2, 2026
…ps unchanged since #8."), the how in a (?) tooltip; the CLI says the same
ndbroadbent added a commit that referenced this pull request Dec 2, 2026
…ps unchanged since #8."), the how in a (?) tooltip; the CLI says the same
ndbroadbent added a commit that referenced this pull request Dec 2, 2026
…part 1) (#46)

* Large suites (sc-8868, part 1): manifest and group hashes (visualci_core::manifest), POST /builds/:id/groups compares them with the baseline's from the server's own rows, matched groups (or the whole run) are carried forward at 1 credit per group, changed groups sent and charged as usual; the CLI does it for runs of 500+ (group_depth in visualci.yml, VISUALCI_GROUPS); groups can't span shards; the build page and get_build show unchanged groups; credits docs, pricing and comparison examples; migration 000042; CLI 0.2.15

* Large suites: plain copy ("Nothing changed since #7.", "29 of 30 groups unchanged since #8."), the how in a (?) tooltip; the CLI says the same

* Skills regenerated (the credits, config and CLI pages); plugin 0.1.39

* Plugin 0.1.42 (0.1.39 to 0.1.41 are taken by open PRs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant