Repository navigation
journeys: settle the "Added 2 projects" shot, no motion from the first paint - #160
Merged
Merged
Conversation
VisualCIdocspring/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. |
…shot waits for the finished, settled state
ndbroadbent
force-pushed
the
journeys-progress-shot
branch
from
December 4, 2026 01:19
db82495 to
37e6e05
Compare
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.
journeys/setup-picks-from-300-repositories/06-addedchanged 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 (blobcb28b6c3), 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)
reducedMotion: 'reduce', plus the no-motion stylesheet as an init script, so transitions are off from the first paint, ascapture.mjsalready 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.addedshot 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/*, fromcapture.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-botwith what you need.