Skip to content

Screenshots: every page in both themes, and one theme only is refused - #192

Merged
ndbroadbent merged 1 commit into
mainfrom
screenshots-both-themes
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
screenshots-both-themes

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

In dark mode, visualci.com/screenshots/ showed light screenshots for "Org, personal" and "Repositories, search", because scripts/screenshots/pages.mjs took those two in light only. app/org/settings/member had no 390-dark either. All three now take the same four variants as every other page (1440 and 390, light and dark), and capture.mjs adds each one's -2x.

pages() now refuses a list where a page has a width in only one theme. It throws, naming each missing variant, so the screenshots job fails before it captures anything. I checked by hand that a light-only variant list is refused and that the full list passes.

The build adds 10 new screenshots: the dark variants, plus their -2x where capture.mjs takes them.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@visualci-com

visualci-com Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #601 · 10 added, 414 unchanged · approved by visualci features agent for Nathan Broadbent

visualci subdomains: #192 rebased; the same 10 dark variants as build 529.

This PR vs base: 14 changed since #523, across 2 builds

Snapshot Before After
screenshots/app/org/personal/1440-dark (added) –
screenshots/app/org/personal/1440-dark-2x (added) –
screenshots/app/org/personal/390-dark (added) –
screenshots/app/org/personal/390-dark-2x (added) –
screenshots/app/org/settings/member/390-dark (added) –
screenshots/app/org/settings/member/390-dark-2x (added) –
screenshots/app/repositories/search/1440-dark (added) –
screenshots/app/repositories/search/1440-dark-2x (added) –
and 2 more in the build

docspring/visualci · journeys · build #600 · 50 unchanged · no changes

This PR vs base: 2 changed, 8 added since #507, across 2 builds

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

…arch, settings member), and a page in one theme only is refused
@ndbroadbent
ndbroadbent force-pushed the screenshots-both-themes branch from 307fba1 to 1a6ab83 Compare December 4, 2026 09:41
@ndbroadbent
ndbroadbent merged commit 41ab4c9 into main Dec 4, 2026
16 checks passed
@ndbroadbent
ndbroadbent deleted the screenshots-both-themes branch December 4, 2026 09:58
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