Repository navigation
story(NavigationStack): Settings Heavy Commit, for device evidence - #12981
Conversation
…ce evidence The pushed screen blocks the main thread for 300 ms in the push's commit, or in its first moving frame. A readout lists the pushed card's travelled share in the first eight frames and whether the page runs as a Home Screen app. Story only.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
|
/approve-spec 1e1d6e0 |
There was a problem hiding this comment.
Changes requested: one fix to the story's readout before it can carry device evidence.
- The readout header (
apps/storybook/stories/NavigationStack.stories.tsx, line 215) does not record Reduce Motion, so with it on every traced frame reads100.0%, the same as a push that skips to its end, and "heavy after" holds on the first frame; printmatchMedia('(prefers-reduced-motion: reduce)').matchesin the header line.
Otherwise the story does what the description says: both holds land where stated, the story id resolves, and ESLint and the Storybook typecheck are clean on the file. #12737 has since closed unmerged, so whether this story still lands as a standing reproduction route is your call; if it does, the fix above applies.
Claims and files checked
Review mode: same-head; reason: none
- Changed rules since the last review (0): none.
- Claim: adds a story-only variant of the Settings story, Settings Heavy Commit: verified (story file lines 221-229; Storybook index).
- Claim: heavy commit blocks 300 ms in the pushed screen's layout effect, inside the push's commit: verified (lines 114-121; the readout stays at 0.0% through the hold).
- Claim: heavy after blocks the first moving frame for 300 ms: verified with Reduce Motion off (lines 148-151); false with it on, where the hold lands on the first frame.
- Claim: the readout lists the first eight frames' travel and whether the page runs from the Home Screen: verified (lines 136-158, 165-167, 215).
- Claim: a screenshot carries the result, with no page script: false with Reduce Motion on (finding above).
- Claim: the story opens top-level at
iframe.html?id=lab-navigationstack--settings-heavy-commit: verified (Storybook index). - Claim: added to an iPhone Home Screen it gives a standalone route: not checkable without a device; the readout's
standaloneline reports it on each screenshot. - Claim: story only, with no changeset, release or component change: verified (one file changed).
- Claim: public text holds no internal context: verified.
- Claim: ESLint and the Storybook typecheck are clean on the story file: verified.
- Claim: it gives a reproduction route for the NavigationStack WebKit first-frame question in #12737: verified as a route; that pull request has since closed unmerged.
- File
apps/storybook/stories/NavigationStack.stories.tsx: one finding (readout header, line 215).
With Reduce Motion on, the push cross-fades and every frame reads 100%, as a push that skips to its end would. The readout header now says whether Reduce Motion is on.
|
/approve-spec 18700d6 |
There was a problem hiding this comment.
Approved pending CI: the story's readout now records Reduce Motion, which was the one change the last review asked for. CI has not run on this head yet because the pull request is a draft; it runs once the pull request is marked ready for review.
There are no blocking findings. #12737 has closed unmerged, so keeping this story as a standing reproduction route is your call.
Claims and files checked
Review mode: incremental; reason: none
- changed rules (0): none.
- Claim: adds a story-only variant of the Settings story, Settings Heavy Commit: verified (story file lines 225-233; Storybook index).
- Claim: heavy commit blocks the main thread for 300 ms in the pushed screen's layout effect, inside the push's commit: verified (lines 114-122; the readout stays at 0.0% through the hold).
- Claim: heavy after blocks the first moving frame for 300 ms: verified (lines 148-151); with Reduce Motion on, the card lands at once and the hold falls on the first frame, which the header now records.
- Claim: the readout lists the card's share in the first eight frames and whether the page runs as a Home Screen app: verified (lines 136-158, 165-167, 219).
- Claim: a screenshot carries the result, with no page script: verified (the header also prints Reduce Motion, lines 168-171 and 219).
- Claim: the story opens top-level through its own iframe URL: verified (Storybook index).
- Claim: added to an iPhone Home Screen, it gives a standalone route: not checkable without a device; the readout's standalone field reports it on each screenshot.
- Claim: story only, with no changeset, release or component change: verified (one file changed).
- Claim: public text holds no internal context: verified.
- Claim: ESLint and the Storybook typecheck are clean on the story file: verified.
- Claim: the story gives a reproduction route for the NavigationStack WebKit first-frame question in #12737: verified as a route; #12737 and its evidence-only copy have since closed unmerged.
- File
apps/storybook/stories/NavigationStack.stories.tsx: clear.
|
/approve-spec 2fed0c4 |
There was a problem hiding this comment.
Approved: the Settings Heavy Commit story still works as described, and CI and Lint passed on this head once the pull request left draft.
There are no blocking findings. #12737 and the evidence-only draft that carried this story are both closed unmerged, so keeping the story as a standing reproduction route is your call.
Claims and files checked
Review mode: same-head; reason: none
- changed rules (0): none.
- Claim: adds a story-only variant of the Settings story, Settings Heavy Commit: verified (story file lines 225-233; the Storybook index built for this head lists it).
- Claim: heavy commit blocks the main thread for 300 ms in the pushed screen's layout effect, inside the push's commit: verified (lines 114-122; the readout holds at 0.0% across a 300 ms gap before the card moves).
- Claim: heavy after blocks the first moving frame for 300 ms: verified (lines 148-151; the readout moves 2.6%, then shows a 300 ms gap).
- Claim: the readout lists the card's share in the first eight frames and whether the page runs as a Home Screen app: verified (lines 124-159, 165-167, 219).
- Claim: a screenshot carries the result, with no page script: verified (fixed readout at lines 206-220, which also records Reduce Motion).
- Claim: the story opens top-level through its own story id: verified (Storybook index).
- Claim: added to an iPhone Home Screen, it gives a standalone route: not checkable without a device; the readout's standalone field reports it on each screenshot.
- Claim: story only, with no changeset, release or component change: verified (one file changed).
- Claim: public text holds no internal context: verified.
- Claim: ESLint and the Storybook typecheck are clean on the story file: verified (CI's lint at this head reports nothing in the file; CI's Storybook typecheck passes).
- Claim: the story gives a reproduction route for the NavigationStack WebKit first-frame question in #12737, and a separate evidence-only draft carries it on that head: verified as a route; #12737 and that draft are closed unmerged.
- File
apps/storybook/stories/NavigationStack.stories.tsx: clear.
What this adds
A story-only variant of the Lab NavigationStack Settings story,
Lab/NavigationStack › Settings Heavy Commit, used to record device evidence of a push after a heavy commit.navigator.standalone). A screenshot carries the result, and no page script is needed.Opened top-level through Storybook's
iframe.html?id=lab-navigationstack--settings-heavy-commitand added to an iPhone's Home Screen, it gives a standalone, top-level reproduction route for the NavigationStack WebKit first-frame question (#12737).Scope
apps/storybook/stories/NavigationStack.stories.tsx): no Changeset, no release, no component change.Validation
Overlap checked: #12737 (the NavigationStack WebKit change this story gives evidence for; a separate evidence-only draft carries this story on #12737's head)