Skip to content

Screenshots: the docs home only; the gallery shows the app only - #4

Merged
ndbroadbent merged 2 commits into
mainfrom
capture-docs-home
Dec 2, 2026
Merged

ndbroadbent merged 2 commits into
mainfrom
capture-docs-home

Conversation

@ndbroadbent

Copy link
Copy Markdown
Member

Nathan: screenshotting every docs page wastes CI minutes and isn't worth showing in the gallery; keep the docs home (with the sidebar) to catch CSS regressions; the landing page doesn't need to be in the gallery either.

  • Capture: scripts/screenshots/pages.mjs takes /docs/ at 1440 and 390, light and dark (4 screenshots) instead of 19 docs pages at 1440 light and 390 dark (38). That's 34 fewer of the 108 screenshots, so about a third less capture, upload and comparison in the visual job.
  • Gallery: visualci.yml publishes the App and Phone groups only. The landing page and the docs home are still captured and compared, just not published.
  • Review: this PR's VisualCI build shows the other docs pages as removed, plus the docs home's two new variants. Both are intended.

The text snapshot site/docs/quick-start (the Markdown agents read) stays: it's cheap and catches changes to what agents get.

…CI took every docs page (38 screenshots of one shared layout); it now takes the docs home with its sidebar at both widths and both themes, to catch a CSS regression across the docs. The landing page and the docs home are still compared but no longer published: the gallery (and visualci.com/screenshots/) is the web app, on desktop and phone
@visualci-com

visualci-com Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #82 · 26 changed, 2 added, 124 removed, 194 unchanged · approved

This PR vs base: 5 changed since #80, across 2 builds

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

Removed: json/api/registers_snapshots_and_asks_for_new_files/01-post-snapshots, json/api/registers_snapshots_and_asks_for_new_files/02-post-snapshots-invalid-kind, json/api/registers_snapshots_and_asks_for_new_files/03-get-snapshots, json/api/shards_with_the_same_nonce_share_a_build/01-post-builds, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/01-update_project, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/02-create_build, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/03-create_build, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/04-get_build, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/05-update_project, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/06-update_project, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/07-create_build, json/mcp/a_builds_visualci_yml_overrides_the_project_settings/08-create_build, json/mcp/a_free_organization_over_its_allowance_gets_a_failed_build_that_says_why/01-create_build, json/mcp/a_free_organization_over_its_allowance_gets_a_failed_build_that_says_why/02-finalize_build, json/mcp/a_free_organization_over_its_allowance_gets_a_failed_build_that_says_why/03-create_build, json/mcp/a_free_organization_over_its_allowance_gets_a_failed_build_that_says_why/04-finalize_build, json/mcp/a_personal_token_manages_organizations_projects_and_tokens/01-whoami, json/mcp/a_personal_token_manages_organizations_projects_and_tokens/02-get_organization, json/mcp/a_personal_token_manages_organizations_projects_and_tokens/03-create_organization, json/mcp/a_personal_token_manages_organizations_projects_and_tokens/04-create_project, and 104 more

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

…hot page the review controls no longer spill over the view modes at wide widths (the bar wraps onto more rows, and what sticks below it follows its measured height, --review-bar-h); and the landing page's screenshot no longer depends on production's gallery (capture refuses app.visualci.com/g/, so the figure shows its description, the same every run)
@ndbroadbent
ndbroadbent merged commit 7b0f69a into main Dec 2, 2026
10 checks passed
@ndbroadbent
ndbroadbent deleted the capture-docs-home branch December 2, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant