Repository navigation
Conversation
… frame at rest WebKit's UI process applies a commit late, so a from-rest transition that started at its commit or the next frame skipped into its curve after a heavy commit on iOS. In WebKit the transition now uses the animator's start: 'presented'. Chromium and Firefox keep next-frame or the commit. The engine check is read at transition time, with its removal condition beside it. A WebKit, Chromium and Firefox frame trace covers it, and AST-094's FR45 verification gets the engine line.
…since the frame before it A mouse click drives the row in every engine, so Firefox runs too. The first moving frame may show no more of the spring than the time since the frame before it (or since the block ended) allows, plus one frame.
…river; state what Linux WebKit guards Firefox runs the test as written. The engine check and AST-094's FR45 row say the defect reproduces on iOS Safari and Linux WebKit's trace guards only a time-correct start; the removal re-check is on iOS.
…bKit The interaction config has no Firefox project, so AST-094's FR45 row and the test comment no longer claim one.
It checks that the first frame stays at rest and that the start fits the time that passed, so its WebKit check goes with the workaround.
…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.
|
There was a problem hiding this comment.
This evidence-only draft needs an owner decision before it could be approved, and it carries one change that would still need fixing after that.
- Spec decision: the new AST-094 verification row
FR45 NavigationStack WebKitis a new requirement with no approval at this head. An engineering owner records the decision by commenting/approve-spec <full head SHA>here, and the author may do so as an engineering owner. - Desktop behavior change needs an owner decision: the WebKit engine check in
NavigationStack.tsx(lines 784-787) also makes every push and pop from rest in desktop Safari start about one frame later. Either gate the presented clock to touch input, or record an owner decision for desktop Safari together with its mouse before-and-after results. - Device evidence: the engine check rests on an iOS Safari defect that no real-device result at this head reproduces. Please state the device take this draft is for: device, browser, head, animation scale, and the first moving frame's share of travel on
mainand on this head.
Not blocking: the re-padded AST-094 table conflicts with main's updated DEC-31 row, and a shorter wording for the removal note is suggested inline. The same points decide #12737.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: this branch is #12737's head plus one story commit. Verified: the head's parent is #12737's head, and the last commit changes only the story file.
- Claim: the story commit is the same as the story-only draft off
main. Verified as the same change: #12981 has an identical patch and the same resulting file. The two commits differ only in their parent. - Claim: the story opens top-level at
iframe.html?id=lab-navigationstack--settings-heavy-commit. Verified: that id is in the head's Storybook index, and the story renders and pushes. - Claim: the two previews let one iPhone compare
mainand #12737 on the same story. Verified: both carry the same story patch, andmain's later commits change no NavigationStack or animator file. - Claim: evidence only, never merged, closed after the device take. This states intent and cannot be checked.
- File
apps/storybook/stories/NavigationStack.stories.tsx: clear. - File
packages/lab/src/NavigationStack/NavigationStack.tsx: desktop Safari retiming (blocking); comment wording (not blocking). - File
packages/lab/src/NavigationStack/__tests__/NavigationStack.interaction.browser.spec.ts: clear. - File
docs/specs/AST-094-touch-presentations/spec.md: the new row awaits owner approval; the table conflicts withmain(not blocking).
| */ | ||
| function appliesCommitsLate(view: Window | null | undefined): boolean { | ||
| const userAgent = view?.navigator.userAgent ?? ''; | ||
| return userAgent.includes('AppleWebKit') && !userAgent.includes('Chrome'); |
There was a problem hiding this comment.
Blocking. This check also matches desktop Safari and every iOS browser. So in desktop Safari, a mouse push or pop from rest also starts one frame later. With a desktop Safari user agent, a plain mouse push first moved at 34 ms (5.0%) on main and at 44 ms (15.1%) here, after one more frame at rest. spec:AST-017 FR59 allows a fine-pointer change only for a defect those users actually hit, or for a cross-device consistency the pull request names, and either way it needs mouse before-and-after evidence. Gate the presented clock to touch input (for example, also require a coarse primary pointer), or record an owner decision for desktop Safari.
| * Its trace checks that the first frame stays at rest and that the start | ||
| * fits the time that passed. Remove it when WebKit applies commits on time: | ||
| * re-check at each Safari major version on iOS, and remove the trace's | ||
| * WebKit check with it. A capability probe in the animator can replace it. |
There was a problem hiding this comment.
Not blocking (comment style): the trace sentence describes the test rather than this code, and the removal sentence is a 24-word instruction with three topics in it. Suggested:
* Remove it when WebKit applies commits on time. Re-check at each Safari
* major version on iOS. Remove the trace's WebKit check with it.
Evidence only. Do not merge. This draft exists for its preview Storybook. It closes after the device take.
It is #12737's head (f0d911d) plus the story-only
Lab/NavigationStack › Settings Heavy Commitvariant, the same commit as the story-only draft offmain. The two previews let one iPhone comparemainand #12737 on the same story, opened top-level throughiframe.html?id=lab-navigationstack--settings-heavy-commitand launched from the Home Screen.Overlap checked: #12737 (this branch is its head plus a story commit; evidence only, never merged)