Skip to content

journeys: settle the "Added 2 projects" shot, no motion from the first paint - #160

Merged
ndbroadbent merged 1 commit into
mainfrom
journeys-progress-shot
Dec 4, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
journeys-progress-shot

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

journeys/setup-picks-from-300-repositories/06-added changed on #157, which has no frontend change. The diff is 26 pixels at the "Added 2 projects" panel's rounded corners. The "new" image is byte-identical to an earlier build's (blob cb28b6c3), so the shot flips between two renderings of the same finished page.

The likely cause is timing. When the import finishes, the page stops polling and refetches the org and picker data. That re-render can overlap the screenshot, and the journeys added their no-motion styles only just before each shot.

What changes (scripts/screenshots/journeys.mjs only)

  • Each journey's browser context starts with reducedMotion: 'reduce', plus the no-motion stylesheet as an init script, so transitions are off from the first paint, as capture.mjs already does for the page screenshots.
  • shot() waits two animation frames after the network is idle and the fonts are ready, so a re-render from the last request has painted.
  • The added shot waits for the finished state first: the "Next: add VisualCI to CI" button is visible, and the progress bar's value equals its max.

The other progress screenshot (screenshots/app/repositories/progress/*, from capture.mjs) shows a seeded import that never finishes, with animations already off from page load, so its bar doesn't move. No other journey shot catches an import in progress.


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 #297 · 361 unchanged · no changes

This PR vs base: nothing since #274, across 2 builds

docspring/visualci · journeys · build #299 · 28 unchanged · no changes

This PR vs base: 1 changed since #273, across 2 builds

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

@ndbroadbent
ndbroadbent force-pushed the journeys-progress-shot branch from db82495 to 37e6e05 Compare December 4, 2026 01:19
@ndbroadbent
ndbroadbent merged commit b7f2518 into main Dec 4, 2026
14 checks passed
@ndbroadbent
ndbroadbent deleted the journeys-progress-shot branch December 4, 2026 01:46
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