Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
There was a problem hiding this comment.
This review waits on an engineering owner: one month per release with the 45° sheet split, the reworded draft PR2 in DateInput.spec.md and the new draft spec:AST-094 have no current spec authority, so an engineering owner needs to approve or reject them by commenting /approve-spec 39408932bf15c4b71cf42bb94ee91e9fe674496f on this pull request, which the author may do as an engineering owner. Whatever that decision, please also make these changes:
- Land the predecessor pull requests, or rebase onto them, so this one carries only its own commit.
- Keep the
usePagereffects at lines 681-683 and 698-702 from callingonIndexChange, and name the system each synchronizes. - Correct the changeset's 45° line: drags between about 26.6° and 45° move neither the sheet nor the calendar.
[Automated review]
3940893 to
2631091
Compare
There was a problem hiding this comment.
This review waits on an engineering owner: one month per release with the 45° sheet split, the reworded draft PR2 in DateInput.spec.md and the new draft spec:AST-094 have no current spec authority, so an engineering owner needs to approve or reject them by commenting /approve-spec <full head SHA> on this pull request, which the author may do as an engineering owner. Whatever that decision, these changes are still needed:
- Land the predecessor pull requests or rebase onto them, so this one carries only its own commit.
- Keep the
usePagereffects at lines 681-683 and 698-702 from callingonIndexChange, and name the system each synchronizes. - Stop naming the release month at the lift in
MonthScroller.tsx(lines 418-421), which turns the title earlier than the measured UIKit behavior and the changeset describe. - Page on a horizontal trackpad or wheel gesture again (
MonthScroller.tsxline 106), and correct the changeset's 45° line, the two staleincrement/timeIncrementcomments and the citation of a missing AST-090 inspec:AST-094.
[Automated review]
2631091 to
161f142
Compare
There was a problem hiding this comment.
This review waits on an engineering owner: one month per release with the 45° sheet split, the reworded draft PR2 in DateInput.spec.md and the new draft spec:AST-094 have no current spec authority, so an engineering owner needs to approve or reject them by commenting /approve-spec <full head SHA> on this pull request, which the author may do as an engineering owner. Whatever that decision, these changes are still needed:
- Land the predecessor pull requests or rebase onto them, so this one carries only its own commit.
- Keep the
usePagereffects at lines 681-683 and 698-702 from callingonIndexChange, and name the system each synchronizes. - Stop naming the release month at the lift in
MonthScroller.tsx(lines 418-421), or document it, so the title, the changeset and the measured UIKit behavior agree. - Page on a horizontal trackpad or wheel gesture again (
MonthScroller.tsxline 106), and correct the changeset's 45° line, the two staleincrement/timeIncrementcomments and the citation of a missing AST-090 inspec:AST-094.
[Automated review]
|
Posted by Cindy's agent on her behalf. Parts of this PR re-implement behavior that already exists, or is being specified, as a shared part of core. Converging keeps one implementation per behavior:
This is about where the behavior lives, not about the PR's intent. |
|
Agreed: one implementation.
|
161f142 to
68b7c0c
Compare
|
/approve-spec 1135ab2 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and the engineering owner's spec approval still holds because the record content is unchanged at this head, but the device and emulator evidence the touch-presentation spec requires at this head is still pending.
- The Android emulator set that
spec:AST-094requires at the exact head (Platform support, DEC-27) is marked pending, and DEC-31 cannot carry earlier runs to a head that adds a commit or past the merges that changedDateInput.spec.md,DateInput.tsxandDateTimeInput.tsx: run the set at normal speed, with animations removed and on the slow-device profile, and state each result in the description. - The iPhone side-by-side for this head is marked pending, and the last one does not carry: repeat it on the same devices against the head the owner passed, and state the result in the description.
The reworded changeset matches the code, which picks the pager by the device's primary pointer. Non-blocking, already deferred to a follow-up: the comment at MonthPager.tsx:66-68 has no main clause, FR22's swipe hand-off has no pager case, a test comment in MonthPager.interaction.browser.spec.ts names September where the calendar rests on October, and motion/uikit/paging.ts still records the 35° split this measurement replaces. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker — verified (both sheets choose the pager on the coarse primary-pointer query; a 240 px flick moves one month at this head where the base moves two, in Chromium with phone emulation).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve — verified (the flick and slow-release interaction cases, read; the slow 130 px drag springs back at this head and snaps on at the base).
- Changeset: the title follows the drag and the settle and changes past half a month — verified (the pager's pan listener and settle-following loop report the nearest month once per crossing; the title cases, read).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on — verified (the unit case naming the month at each tap; two taps reach May on both builds).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways — verified (the gesture hook's pager mode and the pan's begin test agree; the unit tables).
- Changeset: a horizontal trackpad swipe pans and pages at the release — verified (the fake-timer unit cases, read).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms — verified by reading (the pager's animator default; the opacity-only interaction case).
- Changeset: where the primary pointer is a mouse or trackpad the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer — verified (the grid choice by primary pointer; the shared key handler; the key cases, Hebrew leap year included).
- Description: no public API, export, prop, type, default or new data attribute changes — verified (the built package surfaces of base and head differ in no row).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups — verified.
- Description: the record edits need an owner's approval at this head — verified; the spec-owner status succeeds at this head, since the approved record content is unchanged.
- Description: this head adds one commit that changes only the changeset, and the app code is unchanged — verified (the commit touches only the changeset).
- Description: the diff is +2,380/−477, 1,491 added lines are tests, and product code is +753/−204 — verified (the line counts match).
- Description: only the shown month is tabbable under the pager — verified (the tab-stop cases, read).
- Description: the iPhone side-by-side and the Android emulator set at this head are pending — verified as stated; these are the blocking gaps.
- Description: test, lint, typecheck and knowledge-check results at earlier heads — not re-run; CI did not run on this draft head.
- Description: the bundle-size figures — not re-measured.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking hand-off note),MonthPager.interaction.browser.spec.ts(non-blocking comment note);DateInput.spec.md,MonthScroller.tsx,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx— clear.
There was a problem hiding this comment.
Approval waits on an engineering owner: the decision posted on this pull request after the last review (D-20261113-019) does not say what it decides, so an owner needs to say whether it waives or carries the two device and emulator runs the touch-presentation spec requires at this head, by quoting it here or amending spec:AST-094 DEC-31; unless it does, these still block:
- The Android emulator set that
spec:AST-094requires at the exact head (Platform support, DEC-27) is marked pending, and DEC-31 cannot carry earlier runs to a head that adds commits or past the merges that changedDateInput.spec.mdandDateTimeInput.tsx: run the set at normal speed, with animations removed and on the slow-device profile, and state each result in the description. - The iPhone side-by-side for this head is marked pending, and the last one does not carry: repeat it on the same devices against the head the owner passed, and state the result in the description.
The code and the owner-approved record edits follow the DateInput and touch-presentation specs. Non-blocking, already deferred to a follow-up: the comment at MonthPager.tsx:67-68 has no main clause, FR22's swipe hand-off has no pager case, a test comment in MonthPager.interaction.browser.spec.ts names September where the calendar rests on October, and motion/uikit/paging.ts still records the 35° split this measurement replaces. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker — verified (both sheets choose the pager on the coarse primary-pointer query; a 240 px flick moves one month on this head where the base moves two, in Chromium with phone emulation).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve — verified (the flick and slow-release interaction cases, read; a slow 130 px drag springs back on this head and snaps on at the base).
- Changeset: the title follows the drag and the settle and changes past half a month — verified (the pager's pan listener and settle-following loop report the nearest month once per crossing; the title cases, read).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on — verified (the unit case naming the month at each tap passes; two taps reach May on both builds).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways — verified (the gesture hook's pager mode and the pan's begin test agree; the unit tables pass).
- Changeset: a horizontal trackpad swipe pans and pages at the release — verified (the fake-timer unit cases pass).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms — verified by reading (the pager's animator default; the opacity-only interaction case).
- Changeset: where the primary pointer is a mouse or trackpad the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer — verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, pass).
- Description: no public API, export, prop, type, default or new data attribute changes — verified (the built package surfaces of base and head differ in no row).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups — verified.
- Description: the record edits need an owner's approval at this head — verified; an engineering owner approved this exact head.
- Description: this head adds one commit that changes only the changeset — verified.
- Description: the diff is +2,380/−477, 1,491 added lines are tests, and product code is +753/−204 — verified.
- Description: only the shown month is tabbable under the pager — verified (the tab-stop cases pass).
- Description: the iPhone side-by-side and the Android emulator set at this head are pending — verified as stated; these are the blocking gaps.
- Description: unit, lint and typecheck results at earlier heads — the DateInput, DateTimeInput and pager unit suites pass at this head (1,286 tests); lint, typecheck and the interaction specs were not re-run.
- Description: the bundle-size figures — not re-measured.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking hand-off note),MonthPager.interaction.browser.spec.ts(non-blocking comment note);DateInput.spec.md,MonthScroller.tsx,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx— clear.
|
I'll run a full review to re-check this with your note. |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and the owner's decision now carries the iPhone side-by-side to this head, but the Android emulator evidence the touch-presentation spec requires at the exact head has not run.
- The Android emulator set that
spec:AST-094Platform support and DEC-27 require (Chrome with Gboard, animations at normal scale and removed, and the slow-device profile) is marked pending at this head, and DEC-31 cannot carry earlier sets to a head that adds commits or past the merges that changed DateInput's own files: run it on the head that will merge and state each result in the description.
If that head merges main with #9810, which changes the resize observer the pager imports, it also needs the one extra side-by-side the owner's decision names. Non-blocking, already deferred to a follow-up: the comment at MonthPager.tsx:67-68 has no main clause, FR22's swipe hand-off has no pager case, a test comment in MonthPager.interaction.browser.spec.ts names September where the calendar rests on October, and motion/uikit/paging.ts still records the in-sheet split this measurement replaces. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker — verified (both sheets choose the pager on the coarse primary-pointer query; a 240 px flick moves one month on this head where the base moves two, in Chromium with phone emulation).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve — verified (the flick and slow-release interaction cases, read; a slow 130 px drag springs back on this head and snaps on at the base).
- Changeset: the title follows the drag and the settle and changes past half a month — verified (the pager's pan listener and settle-following loop report the nearest month once per crossing; the title cases, read).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on — verified (the unit case naming the month at each tap passes; two taps reach May on both builds).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways — verified (the gesture hook's pager mode and the pan's begin test agree; the unit tables pass).
- Changeset: a horizontal trackpad swipe pans and pages at the release — verified (the fake-timer unit cases pass).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms — verified by reading (the pager's animator default; the opacity-only interaction case).
- Changeset: where the primary pointer is a mouse or trackpad the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer — verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, pass).
- Description: no public API, export, prop, type, default or new data attribute changes — verified (the built surfaces of every published package differ in no row between base and head).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups — verified.
- Description: the record edits need an engineering owner's approval at this head — verified; an engineering owner approved this exact head.
- Description: this head adds one commit that changes only the changeset — verified.
- Description: the diff is +2,380/−477, 1,491 added lines are tests, and product code is +753/−204 — verified.
- Description: only the shown month is tabbable under the pager — verified (the tab-stop cases pass).
- Description: a side-by-side on the same phones against the owner's passed head found no major difference — accepted as the description states it; the owner's decision carries it to this head.
- Description: the Android emulator set at this head is pending — verified as stated; this is the blocking gap.
- Description: unit, lint and typecheck results at earlier heads — the DateInput, DateTimeInput and pager unit suites pass at this head (1,286 tests) and the packages build; lint, typecheck and the interaction specs were not re-run.
- Description: the bundle-size figures — not re-measured.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking hand-off note),MonthPager.interaction.browser.spec.ts(non-blocking comment note);DateInput.spec.md,MonthScroller.tsx,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx— clear.
|
/approve-spec 519a346 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and an engineering owner approved the record edits at this revision, but the device and emulator evidence the touch-presentation spec requires at this exact revision has not run.
- The Android emulator set that
spec:AST-094Platform support and DEC-27 require (Chrome with Gboard, animations at normal scale and removed, and the slow-device profile) is pending at this revision, and DEC-31 cannot carry an earlier set past this merge ofmain, which changesutils/sharedResizeObserver.ts(imported byMonthPager.tsx) andLayer/useLayer.tsx: run it on the revision that will merge and state each result in the description. - Regression: the real-phone side-by-side against the owner's passed revision no longer carries, because this merge of
mainbrings #9810's change to the resize observer the pager measures its pages with and the shared layer module's changes: run it on the revision that will merge and state the result in the description.
Non-blocking, already deferred to a follow-up: the comment at MonthPager.tsx:67-68 has no main clause, FR22's swipe hand-off has no pager case, a test comment in MonthPager.interaction.browser.spec.ts names September where the calendar rests on October, and motion/uikit/paging.ts still records the in-sheet split this measurement replaces. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker — verified (both sheets choose the pager on the coarse primary-pointer query; a 240 px flick moves one month on this revision where the base moves two, in Chromium with phone emulation).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve — verified (the flick and slow-release interaction cases, read; the pager's release goes through the shared pager's paging rule).
- Changeset: the title follows the drag and the settle and changes past half a month — verified (the pager's pan listener and settle-following loop report the nearest month once per crossing; the title cases, read).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on — verified (the unit case naming the month at each tap passes; two taps reach May on both builds).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways — verified (the gesture hook's pager mode and the pan's begin test agree; the unit tables pass).
- Changeset: a horizontal trackpad swipe pans and pages at the release — verified (the fake-timer unit cases pass).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms — verified by reading (the shared pager's animator default; the opacity-only interaction case).
- Changeset: where the primary pointer is a mouse or trackpad the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer — verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, pass).
- Description: this revision only merges
main, with no conflict, andmainchanges no file this pull request edits — verified (the merged tree equals git's own merge; no file overlaps). - Description: the merge changes the resize observer the pager imports and the shared layer module — verified; this is why earlier device and emulator runs do not carry.
- Description: the diff is +2,380/−477, 1,491 added lines are tests, and product code is +753/−204 — verified.
- Description: no public API, export, prop, type, default or new data attribute changes — verified (the built surfaces of the core package, the build package and the seven themes differ in no row between base and head).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups — verified.
- Description: the record edits need an engineering owner's approval at this revision — verified; the owner-approval status succeeds for this revision.
- Description: only the shown month is tabbable under the pager — verified (the tab-stop cases pass).
- Description: the Android emulator set and the real-phone side-by-side at this revision are pending — verified as stated; these are the blocking gaps.
- Description: unit, typecheck, lint and interaction results at this revision — the DateInput, DateTimeInput, pager, resize-observer and layer unit suites pass (1,834 tests) and the packages build; typecheck, lint and the interaction specs were not re-run.
- Description: the bundle-size figures — not re-measured.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking hand-off note),MonthPager.interaction.browser.spec.ts(non-blocking comment note);DateInput.spec.md,MonthScroller.tsx,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx— clear.
|
/approve-spec 1f369ba |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and an engineering owner approved the record edits at this revision, but the device and emulator evidence the touch-presentation spec requires at the merging revision has not run.
- The Android emulator set that
spec:AST-094Platform support and DEC-27 require (Chrome with Gboard, animations at normal scale and removed, and the slow-device profile) is pending at this revision, and DEC-31 cannot carry an earlier set because this merge ofmaineditsDateInput.spec.md, a file this pull request changes: run it on the revision that will merge and state each result in the description. - Regression: the real-phone side-by-side against the owner's passed revision does not carry to this revision, for the same reason and because an earlier merge changed the resize observer
MonthPagerimports and the shared layer module: run it on the revision that will merge and state the result in the description.
Non-blocking, already deferred to a follow-up: the comment at MonthPager.tsx:67-68 has no main clause, FR22's swipe hand-off has no pager case, a test comment in MonthPager.interaction.browser.spec.ts names September where the calendar rests on October, and motion/uikit/paging.ts still records the in-sheet split this measurement replaces. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager on the coarse primary-pointer query; a 240 px flick from March lands on April on this revision, where the base reaches June, in Chromium with phone emulation).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve: verified (the release goes through the shared pager's paging rule; a 130 px slow drag returns to March, where the base snaps on to April; the flick and slow-release interaction cases, read).
- Changeset: the title follows the drag and the settle and changes past half a month: verified (the pan listener and the settle-following loop report the nearest month once per crossing; the title cases, read).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (two taps reach May; the unit case naming the month at each tap passes).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways: verified (the gesture hook's pager mode and the pan's begin test agree; the unit tables pass).
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases pass).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms: verified by reading (the shared pager's animator default; the opacity-only interaction case).
- Changeset: with a mouse or trackpad primary pointer the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer: verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, pass).
- Description: this revision merges
mainwith no conflict, and the pull request's own diff keeps its size: verified (the pull request's hunks are unchanged from the previous revision; +2,380/−477). - Description: the merge also edits the DateInput record in other rows (an FR25 sentence and its verification row): verified.
- Description: 1,491 added lines are tests, and product code is +753/−204: verified.
- Description: no public API, export, prop, type, default or new data attribute changes: verified (the built surfaces of the core package, the build package and the seven themes differ in no row between base and head).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; an engineering owner approved this revision and the owner-approval status succeeds for it.
- Description: only the shown month is tabbable under the pager: verified (one Tab stop on this revision against seven on the base; the tab-stop cases pass).
- Description: the trackpad cases run on fake timers: verified by reading.
- Description: the Android emulator set and the real-phone side-by-side at this revision are pending: verified as stated; these are the blocking gaps.
- Description: unit, knowledge-check, typecheck, lint and interaction results at this revision: the DateInput, DateTimeInput, pager and motion-table unit suites pass (1,613 tests) and the packages build; typecheck, lint and the interaction specs were not re-run.
- Description: the bundle-size figures: not re-measured.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking hand-off note),MonthPager.interaction.browser.spec.ts(non-blocking comment note),DateInput.spec.md,MonthScroller.tsx,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
|
/approve-spec a9eebc3 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and an engineering owner approved the record edits at this revision, but the device and emulator evidence the touch-presentation spec requires at the merging revision has not run.
- The Android emulator set that
spec:AST-094Platform support and DEC-27 require (Chrome with Gboard, animations at normal scale and removed, and the slow-device profile) is pending at this revision, and DEC-31 cannot carry an earlier set becauseMonthPager.tsxchanged after the last one: run it on the revision that will merge and state each result in the description. - Regression: the iPhone side-by-side against the owner's passed revision does not carry to this revision, because the merges of
mainsince the last run changed the resize observerMonthPagerimports, the time formatterTouchDateTimeFieldimports, the shared layer modules andDateInput.spec.md: run it on the revision that will merge and state the result in the description.
Non-blocking, mostly deferred to a follow-up: the comment at MonthPager.tsx:66-68 has no clear subject, FR22's swipe hand-off has no pager case, a test comment at MonthPager.interaction.browser.spec.ts:759 names September where the calendar rests on October, motion/uikit/paging.ts still documents the in-sheet split this measurement replaces, and MonthScroller's coarse-pointer Reduced Motion dip can no longer run. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager on the coarse primary-pointer query; with phone emulation a 240 px flick from March rests on April, where the base coasts to May).
- Changeset: a swipe moves at most one month, chosen at the lift, and settles on the paging curve: verified (the release goes through the shared pager's paging rule; a slow 130 px drag returns to March, where the base snaps on to April).
- Changeset: the title follows the drag and the settle and changes past half a month: verified by reading (the pan listener and the settle-following loop report the nearest month once per crossing; the title interaction cases).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (the unit case naming the month at each tap, run green).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways: verified (the gesture hook's pager mode and the pager's begin test agree; the unit tables, run green).
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases, run green).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms: verified by reading (the shared pager's animator; the opacity-only interaction case).
- Changeset: with a mouse or trackpad primary pointer the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer: verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, run green).
- Description: this revision merges
mainwith no conflict, and main's changes touch no file this pull request edits: verified (the merged tree equals git's automatic merge of the two parents; none of the 18 files changed on main's side). - Description: the merge brings the time-entry change to DateTimeInput, the time formatter and two shared field hooks, and the touch date-time field calls the time formatter and imports only types from DateTimeInput: verified.
- Description: +2,380/−477, 1,491 added test lines, product code +753/−204: verified.
- Description: no public API, export, prop, type, default or new data attribute changes: verified (the built surfaces of the core package, the build package and the seven themes differ in no row).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; an engineering owner approved this revision and the owner-approval status succeeds.
- Description: only the shown month is tabbable under the pager: verified (one Tab stop on the head sheet against six on the base).
- Description: the Android emulator set and the iPhone side-by-side at this revision are pending: verified as stated; these are the blocking gaps.
- Description: unit results at this revision: the DateInput and DateTimeInput unit files re-run green (572 tests); typecheck, lint, interaction, accessibility and bundle figures were not re-run.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking FR22 and stray-comment notes),MonthPager.interaction.browser.spec.ts(non-blocking comment note),MonthScroller.tsx(non-blocking unreachable dip),DateInput.spec.md,useOwnScrollGesture.ts,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
|
/approve-spec ba40c16 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, and an engineering owner approved the record edits at this revision, but the device and emulator runs the touch-presentation spec requires at the merging revision have not run, and the sheet-split hook needs a shared engine or a recorded reason.
- The Android emulator set that
spec:AST-094Platform support and DEC-27 require (Chrome with Gboard, animations at normal scale and removed, and the slow-device profile) is pending at this revision, and DEC-31 cannot carry an earlier set becauseMonthPager.tsxandMonthScroller.tsxchanged after the last one: run it on the revision that will merge and state each result in the description. - Regression: the iPhone side-by-side against the owner's passed revision does not carry to this revision, because merges of
mainsince the last run changed the resize observerMonthPagerimports, the time formatterTouchDateTimeFieldimports, the sharedLayer/useLayer.tsxandmotion/MEASUREMENTS.md: run it on the revision that will merge and state the result in the description. - Newly live check: the
'pager'split growsuseOwnScrollGesture.tsto 308 lines (4.9 KB gzip) while it builds on none of the shared touch modules, whicharchitecture:react-component-runtimeINV19 allows only whencomponent:DateInputnames why none fits: build the split on the shared touch modules, or add that reason to the record (the sheet's pull is a native touch listener outside the gesture host).
Non-blocking, mostly deferred to a follow-up: the comment at MonthPager.tsx:65-69 has no clear subject, FR22's swipe hand-off has no pager case, a test comment at MonthPager.interaction.browser.spec.ts:757-759 names September where the calendar rests on October, motion/uikit/paging.ts still documents the in-sheet split this measurement replaces, a stray doc comment sits above beforeAll in DateInputTouch.test.tsx, and MonthScroller's coarse-pointer Reduced Motion dip can no longer run. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
Review mode: same-head; reason: none
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager on the coarse primary-pointer query; with phone emulation a 240 px flick from March rests on April, where the base coasts to May).
- Changeset: a swipe moves at most one month, chosen at the lift, and settles on the paging curve: verified (the release goes through the shared pager's paging rule; a slow 130 px drag returns to March, where the base snaps on to April).
- Changeset: the title follows the drag and the settle and changes past half a month: verified by reading (the pan listener and the settle-following loop report the nearest month once per crossing; the title interaction cases).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (the unit case naming the month at each tap, run green).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways: verified (the gesture hook's pager mode and the pager's begin test agree; the unit cases, run green).
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases, run green).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms: verified by reading (the shared pager's animator; the opacity-only interaction case).
- Changeset: with a mouse or trackpad primary pointer the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer: verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included, run green).
- Description: this revision merges
mainwith no conflict, and main's changes touch no file this pull request edits: verified (none of the 18 files changed on main's side of that merge). - Description: +2,380/−477, 1,491 added test lines, product code +753/−204: verified.
- Description: no public API, export, prop, type, default or new data attribute changes: verified (the built surfaces of the core package, the build package and the seven themes differ in no row).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; an engineering owner approved this revision.
- Description: only the shown month is tabbable under the pager: verified (one Tab stop on the head sheet against six on the base).
- Description: the component-level size increase of about 7 KB gzip for each field: stated; not re-measured.
- Description: the Android emulator set and the iPhone side-by-side at this revision are pending: verified as stated; these are the blocking gaps.
- Description: test results at this revision: the DateInput, DateTimeInput, TimeInput and motion-table unit files ran green (1,744 tests); typecheck, lint, interaction and accessibility figures were not re-run.
- Files:
useOwnScrollGesture.ts(blocking size-rule finding),MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking FR22 and stray-comment notes),MonthPager.interaction.browser.spec.ts(non-blocking comment note),MonthScroller.tsx(non-blocking unreachable dip),DateInput.spec.md,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
useOwnScrollGesture grows past INV19's size line with the pager mode. The record now names why no shared touch module fits: the sheet's pull is a native touch listener outside the gesture host, so only stopPropagation on the element keeps it off.
|
/approve-spec 21f1b75 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs, an engineering owner approved the record edits at this revision, the Android emulator set covers the sheet split, and the frame-checked iPhone side-by-side shows no major difference, but it covers Reduce Motion off only.
- The iPhone side-by-side was frame-checked with Reduce Motion off, while its Reduce Motion on steps (where the arrow step and the settle are a 200 ms cross-fade) are still stated only by matching end states, and
spec:AST-094DEC-31 asks for the same steps with frame-checked evidence: rerun those steps with Reduce Motion on from drawn frames, since a position log does not show a cross-fade, and state the result.
Non-blocking and deferred to a follow-up: the comment at MonthPager.tsx:67-68 has no clear subject, FR22's swipe hand-off has no pager case, a test comment at MonthPager.interaction.browser.spec.ts:757-759 names September where the calendar rests on October, motion/uikit/paging.ts still documents the in-sheet split this measurement replaces, a stray doc comment sits above beforeAll in DateInputTouch.test.tsx, and MonthScroller's coarse-pointer Reduced Motion dip can no longer run. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
Review mode: same-head; reason: none
- Changeset: on a phone or tablet (a coarse primary pointer) the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager on the coarse primary-pointer query; with phone emulation a 240 px flick from March rests on April, where the base coasts to May).
- Changeset: a swipe moves at most one month, chosen at the lift, and settles on the paging curve: verified (the release goes through the shared pager's paging rule; a slow 130 px drag returns to March, where the base snaps on to April).
- Changeset: the title follows the drag and the settle and changes past half a month: verified by reading (the pan listener and the settle-following loop report the nearest month once per crossing; the title interaction cases).
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (the arrow calls the pager's animated move; the unit case naming the month at each tap and the second-tap interaction case).
- Changeset: in the sheet a drag is decided at 10 px either way, and the calendar takes it only if it moved 10 px sideways: verified in code and tests; the Android emulator cells name two steps that check it.
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases and the WebKit trackpad cases).
- Changeset: Reduce Motion cross-fades the step and the settle within 200 ms: verified by reading (the shared pager's animator; the opacity-only interaction case); not yet frame-checked on a real iPhone (blocking).
- Changeset: with a mouse or trackpad primary pointer the calendar still scrolls natively, and PageUp/PageDown move a month, Shift a year, with any pointer: verified (the grid choice by primary pointer; the shared key handler; the key cases, a Hebrew leap year included).
- Description: this revision adds one record line naming why the sheet-split hook builds on no shared touch module, and the app code is the previous revision's: verified (the only change since is six lines in the DateInput record).
- Description: the Android emulator set ran at the previous revision in Chrome with Gboard, 12 of 12 at normal, slow-device and removed-animation settings, two steps checking the sheet split: stated; it carries here because the only later commit edits a record.
- Description: a frame-checked rerun at this revision repeated the side-by-side's 14 gestures against the owner-passed build with Reduce Motion off, with a per-frame page log on a real iPhone and simulator frames, and found no major difference: stated; it meets the frame check for Reduce Motion off.
- Description: the earlier iPhone side-by-side, Reduce Motion on and off, matched every end state: stated; it carries here; its Reduce Motion on half is not frame-checked (blocking).
- Description: the merges below touch no file this pull request edits except where named: verified for the latest merge (none of the 18 files changed on main's side).
- Description: +2,386/−477, 1,491 added test lines, product code +753/−204: verified.
- Description: no public API, export, prop, type, default or new data attribute changes: verified (the built surfaces of the core package, the build package and the seven themes differ in no row; no new attribute in the diff).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; an engineering owner approved this revision.
- Description: only the shown month is tabbable under the pager: verified (one Tab stop on the head sheet against six on the base).
- Description: the component-level size increase of about 7 KB gzip for each field: stated; not re-measured.
- Description: typecheck, lint, interaction and accessibility results: not re-run; the DateInput, DateTimeInput, TimeInput and motion-table unit files ran green at this revision (1,744 tests).
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking FR22 and stray-comment notes),MonthPager.interaction.browser.spec.ts(non-blocking comment note),MonthScroller.tsx(non-blocking unreachable dip),useOwnScrollGesture.ts,DateInput.spec.md,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
|
/approve-spec 21f1b75 |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs and are owner-approved at this revision, and the new Android and iPhone takes cover most of what the specs ask, but two required device and emulator cells are still missing.
- Regression: this revision merges
main, which changesLayer/useLayer, a shared layer module thatspec:AST-094DEC-31 lists, so only takes at this revision count, and two are still missing: the Android emulator's slow-device profile (all 8 takes under 4× CPU were refused for frame stalls) and a frame-checked iPhone side-by-side in normal motion with the same steps as before (this revision has only the arrow step with Reduce Motion on); take both here and state each result in the description.
Non-blocking and already deferred to the planned follow-up: the comment at MonthPager.tsx:67-68 has no clear subject, FR22's swipe hand-off has no pager case, a test comment at MonthPager.interaction.browser.spec.ts:759 names September where the calendar rests on October, motion/uikit/paging.ts still documents the in-sheet split this measurement replaces, a stray doc comment sits above beforeAll in DateInputTouch.test.tsx, and MonthScroller's coarse-pointer Reduced Motion dip can no longer run. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
Review mode: same-head; reason: none
- changed rules (0)
- Changeset: on a coarse primary pointer the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager by primary pointer; with phone emulation a quick flick from January rests on February, where the base coasts to March).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve: verified (the release goes through the shared pager; the flick and slow-release interaction cases).
- Changeset: the title follows the drag and the settle and changes past half a month: verified by reading (the pan listener and the settle loop report the nearest month once per crossing) and the title interaction cases.
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (the arrow calls the pager's animated move; the unit and interaction cases).
- Changeset: in the sheet a drag is decided at 10 px either way and the calendar takes it only if it moved 10 px sideways: verified in code and tests.
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases and the WebKit trackpad cases).
- Changeset: with Reduce Motion the step and the settle cross-fade in 200 ms: verified in code and the opacity-only interaction case; on a device at this revision only the arrow step was checked.
- Changeset: a mouse or trackpad primary pointer keeps the native scroller, and PageUp/PageDown move a month, Shift a year, on any pointer: verified (grid choice by primary pointer; the shared key handler and its cases, a Hebrew leap year included).
- Description: this revision only merges
main, with no conflict and no overlap with this pull request's files: verified (no file changed on both sides). - Description: the merged changes reach shared layer modules, so earlier device runs do not carry: verified (the shared layer hook the evidence rule lists changed).
- Description: the Android emulator side-by-side at this revision passed with animations at normal scale and removed: stated; accepted as text evidence.
- Description: the Android slow-device profile did not pass at this revision: stated; blocking.
- Description: an iPhone take at this revision with Reduce Motion on drew the same opacity fade with no travel at both builds: stated; accepted for the arrow step; no normal-motion iPhone side-by-side at this revision (blocking).
- Description: +2,386/−477, product code +753/−204: verified.
- Description: no public API, export, prop, type, default or new data attribute changes: verified (the built surfaces of the core package, the build package and the seven themes differ in no row; no new attribute in the diff).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups, recorded in the DateInput record: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; the spec-owner gate reports the unchanged record content approved at this revision.
- Description: only the shown month is tabbable under the pager: verified (the one-Tab-stop unit case).
- Description: the component-level size increase of about 7 KB gzip per field: stated; not re-measured.
- Description: typecheck, lint, unit, interaction and accessibility results at this revision: stated; not re-run.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking FR22 and stray-comment notes),MonthPager.interaction.browser.spec.ts(non-blocking comment note),MonthScroller.tsx(non-blocking unreachable dip),useOwnScrollGesture.ts,DateInput.spec.md,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
|
/approve-spec dba8c0a |
There was a problem hiding this comment.
Changes requested: the month pager's code and its record edits follow the DateInput and touch-presentation specs and are owner-approved at this revision, but two required device and emulator cells are still missing.
- Regression: an earlier merge of
mainon this branch changedLayer/useLayer, a shared layer module thatspec:AST-094DEC-31 lists, so only takes from the previous revision on count here (this revision's merge touches no listed module and keeps them), and two are still missing: the Android emulator's slow-device profile (all 8 takes under 4× CPU were refused for frame stalls) and a frame-checked iPhone side-by-side in normal motion with the same steps as before (since that merge the iPhone ran only the arrow step with Reduce Motion on); take both and state each result in the description.
The description's new line that the owners accepted the partial slow-device set is not enough on its own: the slow-device cell stays required until the decider of spec:AST-094 DEC-27 amends that record or posts the decision's words and date here, and the line does not cover the iPhone run.
Non-blocking and already deferred to the planned follow-up: the comment at MonthPager.tsx:67-68 has no clear subject, FR22's swipe hand-off has no pager case, a test comment at MonthPager.interaction.browser.spec.ts:759 names September where the calendar rests on October, motion/uikit/paging.ts still documents the in-sheet split this measurement replaces, a stray doc comment sits above beforeAll in DateInputTouch.test.tsx, and MonthScroller's coarse-pointer Reduced Motion dip can no longer run. #8206 builds on this pull request, and a pull request lands only when it and every pull request below it are approved.
Claims and files checked
Review mode: same-head; reason: none
- changed rules (0): none since the last review at this revision.
- Changeset: on a coarse primary pointer the sheets' calendar pages like the iOS date picker: verified (both sheets choose the pager by primary pointer; with phone emulation a quick flick from January rests on February, where the base coasts to March).
- Changeset: a swipe moves at most one month, chosen at the lift by the paging rule, and settles on the paging curve: verified (the release goes through the shared pager; the flick and slow-release interaction cases).
- Changeset: the title follows the drag and the settle and changes past half a month: verified by reading (the pan listener and the settle loop report the nearest month once per crossing) and the title interaction cases.
- Changeset: an arrow scrolls one month and a second tap mid-scroll goes on: verified (the arrow calls the pager's animated move; the unit and interaction cases).
- Changeset: in the sheet a drag is decided at 10 px either way and the calendar takes it only if it moved 10 px sideways: verified in code and tests.
- Changeset: a horizontal trackpad swipe pans and pages at the release: verified (the fake-timer unit cases and the WebKit trackpad cases).
- Changeset: with Reduce Motion the step and the settle cross-fade in 200 ms: verified in code and the opacity-only interaction case; on a device only the arrow step was checked.
- Changeset: a mouse or trackpad primary pointer keeps the native scroller, and PageUp/PageDown move a month, Shift a year, on any pointer: verified (grid choice by primary pointer; the shared key handler and its cases, a Hebrew leap year included).
- Description: this revision only merges
main, with no conflict and no overlap with this pull request's files: verified (no file changed on both sides; the pull request's own diff is unchanged). - Description: the pull request's own diff keeps its size, +2,386/−477, product code +753/−204: verified.
- Description: the previous revision's device and emulator runs carry to this revision under the evidence-carry check: verified (this merge changes no listed shared motion or layer module, no file of this pull request and none of their direct imports); nothing older carries past the previous revision's layer merge.
- Description: the owners accepted the partial slow-device set for this revision: stated without an owner, words or date, and no record or comment on the pull request says so; not a waiver (blocking stands).
- Description: the Android emulator side-by-side passed with animations at normal scale and removed: stated; accepted as text evidence.
- Description: the Android slow-device profile did not pass: stated; blocking.
- Description: an iPhone take with Reduce Motion on drew the same opacity fade with no travel at both builds: stated; accepted for the arrow step; no normal-motion iPhone side-by-side since the earlier layer merge (blocking).
- Description: no public API, export, prop, type, default or new data attribute changes: verified (no package's built surface differs; no new attribute in the diff).
- Description: one new internal pager module, the month grid's exports, a sheet-split mode and two measured table groups, recorded in the DateInput record: verified.
- Description: the record edits need an engineering owner's approval at this revision: verified; approved at this revision.
- Description: only the shown month is tabbable under the pager: verified (the one-Tab-stop unit case).
- Description: the component-level size increase of about 7 KB gzip per field: stated; not re-measured.
- Description: typecheck, knowledge, changeset, unit, interaction and accessibility results at this revision: stated; not re-run.
- Files:
MonthPager.tsx(non-blocking comment wording),DateInputTouch.test.tsx(non-blocking FR22 and stray-comment notes),MonthPager.interaction.browser.spec.ts(non-blocking comment note),MonthScroller.tsx(non-blocking unreachable dip),useOwnScrollGesture.ts,DateInput.spec.md,TouchDateField.tsx,TouchDateTimeField.tsx,datePickerTouch.ts,motion/uikit/datePicker.ts,motion/MEASUREMENTS.md,.changeset/calendar-pages-like-uidatepicker.md,MonthPagerProofs.stories.tsx,DateInput.stories.tsx,useOwnScrollGesture.test.tsx,MonthScroller.interaction.browser.spec.ts,MonthScrollerSteps.interaction.browser.spec.ts,DateInputTouch.calendar.test.tsx: clear.
|
Under 4× CPU at ed2b57f, all 8 takes were refused, each for a frame stall of 0.6 to 1.2 s as the sheet opens. The same 8 cells at this pull request's earlier head 6f62fc8 stalled the same way, at the same step, on the same emulator. The owners judged this a limit of the emulator host and accepted the partial slow-device set for this head. A retake of these cells on another emulator host is queued. The frame-checked iPhone side-by-side in normal motion against 6f62fc8, with the same steps as before, follows. Both results will go in the description. |
Batch: B4 · DateInput calendar month pager
Stack: #8200 → #8206
User need
On a phone or tablet, the sheets' calendar scrolls natively, so a 300 pt flick can cross two months. A fine primary pointer keeps the scroller.
Problem and solution fit
On a coarse primary pointer,
MonthPagerpages the months on the shared pager (usePager) with UIDatePicker's measured values:useOwnScrollGesture's'pager'mode.)MonthScroller.tsx's month pane and grid focus.Current specification
spec:AST-094FR2, FR17 and FR36 (settled Oct 25).component:DateInputPR2 and AR8 already state the pager and the keys.For the owner: main's
component:DateInputstill says neither is built. AR8 has "Implementation gap: PageUp and PageDown do not page by a month…". PR2 has "Implementation gap: under a finger the touch calendar moves through the native month scroller…". Both have Current-state bullets. This removes those gap lines, cites the new tests in the two verification rows, and adds MonthPager's markup to the Compatibility/readiness row and Compatibility class. It also adds the Current-state bullet "Arrow step motion". An arrow's step plays the pager's 300 ms sinusoid, not the motionspec:AST-094FR45 asks for, the pager's own gap under FR4. Its Ownership boundary names the grid partsMonthScroller.tsxexports, and the INV19 reason. It needs/approve-specat this head.Public delta and caller burden
Writing rubric results
Scope: the removed gap lines, the two verification rows, the Compatibility/readiness row, the Compatibility class and the Ownership boundary lines. R1 narration, R2 research, R4 rejected alternatives, R5 change references, R6 open questions: none. R3 evidence: test names only.
Scope
Testing
This head, dba8c0a, merges
mainbe7f821 into ed2b57f. Git merged every file with no conflict. Main's 42 commits touch none of this pull request's files, and this pull request's own lines are unchanged. They changeTooltip,Button,theme/useThemeandText/TruncationTooltip, which the fields' code reaches 3 to 5 import steps away. None is a direct import of the fields' code. This pull request's story imports thethemeentry, which re-exports main's changedtheme/Themeandtheme/useTheme. Nothing changes underLayer,motionor the shared press and touch utilities. This pull request's own diff againstmainkeeps its size, +2,386/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The unit tests ran for DateInput, DateTimeInput, TimeInput, FormLayout, BottomSheet, Layer, Popover, Tooltip, DropdownMenu, Field and Text. They also ran for gestures, utils, motion, drag-to-snap-points,usePageranduseDragToSnapPoints: 278 files, 7,424 passed. Every DateInput and Calendar interaction spec, against Storybook built at this head, at one worker: Chromium 58 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 53 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below it, ed2b57f merges
main120629d into 21f1b75. Git merged every file with no conflict, and main's changes touch no file this pull request edits. Some of them change modules the fields' code reaches at run time. They includeLayer/useLayer(#11905, #11938),Layer/gestureCounter(#11938),Layer/outsidePress(#11851) andPopover/usePopover(#11905). They also includeBottomSheet/BottomSheetPanel(#12095) and severalthemeandLayoutmodules. Main also changestheme/Theme,theme/defineThemeandLayoutmodules, which this pull request's story imports directly. This pull request's own diff againstmainkeeps its size, +2,386/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The unit tests ran for DateInput, DateTimeInput, TimeInput, FormLayout, BottomSheet, Layer, Popover, Tooltip, DropdownMenu, Field and Text. They also ran for gestures, utils, motion, drag-to-snap-points,usePageranduseDragToSnapPoints: 277 files, 7,422 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 58 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 53 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below that, 21f1b75 adds one commit to ba40c16, in answer to the review. It adds one line to DateInput's record, in its Ownership boundary. The line names why
useOwnScrollGesturebuilds on none of the shared touch modules. The sheet's pull is a native touch listener outside the gesture host, so onlystopPropagationon the element keeps it off. The app code is ba40c16's.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The code is ba40c16's, where the tests below ran.Below 21f1b75, ba40c16 merges
main4800d99 into 6ef7af1. Git merged every file with no conflict, and main's changes touch no file this pull request edits. Some of them change modules the fields' code reaches at run time. Main's #8373 changesLayer/inputHold,motion/themeTiming,Popover/popoverSurfaceMotionandprivateAttributes/layerRoot.stylex. Main's #11679 changes threethememodules. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, TimeInput, FormLayout, BottomSheet, Layer, Popover, Field, Text, gestures, utils, motion, drag-to-snap-points,usePageranduseDragToSnapPointsunit tests: 257 files, 6,901 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 58 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 53 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below ba40c16, 6ef7af1 merges
main1addd72 into a9eebc3. It brings #11485, which changes DateInput's own files, such asDateInput.tsxanduseTypedDate.ts. It also brings main's changes to modules the fields' code reaches at run time. They includeIcon(#11498, #11502),Button(#7677, #11062),Popover/usePopover(#7677),Layer/inputHoldandBottomSheet(#11447), andLayer/layerEntranceSide(#10949). They also include threemotionmodules (#11400) andutils/pressFeedback(#8690). Git stopped on one file, DateInput's record. There, #11485 changed the entry error behavior API row and FR24's requirement and verification rows. It also dropped the Current-state bullet "Entry error behavior (FR24)". The resolution keeps main's text and this pull request's "Arrow step motion" bullet. Main's #8690 adds lines tomotion/MEASUREMENTS.md, which this pull request also edits, and git merged them. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, TimeInput, FormLayout, BottomSheet, Layer, Popover, Field, Text, gestures, utils, motion, drag-to-snap-points,usePageranduseDragToSnapPointsunit tests: 257 files, 6,894 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 58 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 53 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 6ef7af1, a9eebc3 merges
main685728b into 1f369ba. It brings #11413, which changesDateTimeInput/DateTimeInput,utils/timeFormatand two sharedFieldhooks thatuseTypedDatecalls.TouchDateTimeField, which this pull request edits, callsformatLocaleTimefromutils/timeFormatand imports only types fromDateTimeInput/DateTimeInput. Git merged every file with no conflict, and main's changes touch no file this pull request edits. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, TimeInput, Layer, Popover, Field, Text, gestures, utils, motion andusePagerunit tests: 233 files, 6,085 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 54 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 49 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below a9eebc3, 1f369ba merges
main7245e6a into 519a346. It brings #11470, which changesDateInput/useTypedDateand adds a sharedField/useValueReplacesEntrythat it calls. Main's #11470 also edits DateInput's record, which this pull request edits in other rows. It adds a sentence to FR25 and test names to FR25's verification row. Git merged every file with no conflict. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, Layer, Popover, Field, Text, gestures, utils, motion andusePagerunit tests: 226 files, 5,814 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 54 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 49 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 1f369ba, 519a346 merges
main36f68b0 into 1135ab2. It brings five changes to modules the fields' code reaches at run time. Main's #9810 addsobserveResizeAfterLayouttoutils/sharedResizeObserverand changesText/useTruncation. Main's #10873 keeps the bottom sheet's snap points and its reentry in state. Main's #11258 changesLayer/useLayer,Popover/usePopover,utils/clickGuard,utils/touchEndMarkand the layer's gesture counter, and #11337 changesLayer/useLayeragain. Main's #11415 moves DateInput's entry-error report into a sharedField/useEntryErrorReport, whichuseTypedDatenow calls.MonthPagerimportsutils/sharedResizeObserverand callsobserveResize, which #9810 leaves as it was. Git merged every file with no conflict, and main's changes touch no file this pull request edits. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, Layer, Popover, Field, Text, gestures, utils, motion andusePagerunit tests: 225 files, 5,796 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 54 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 49 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 519a346, 1135ab2 adds one commit to 5ce7733, in answer to the stack review. It changes only the pager's changeset. The calendar takes the pager where the device's primary pointer is coarse, and the changeset now says so. A stylus on a tablet pages like a finger, and a finger on a touchscreen laptop, in a bottom sheet, keeps the native scroller. The app code is 5ce7733's.
pnpm check:changesets0.pnpm check:knowledge0. Changeset coverage passes;pnpm review:pre0 findings. The code is still 1d0b713's, where the tests below ran.Below 1135ab2, 5ce7733 adds one commit to 1d0b713, in answer to the stack review. No test counts the visible-month reports per half-month. The PR2 row's cited cases read the title text, and a repeated report of the same month passes them too. So the commit corrects the row instead of adding a test: the row names that gap again. The code is unchanged.
pnpm check:knowledge0. Changeset coverage passes.pnpm review:pre0 findings. The code is 1d0b713's, where the tests below ran.Below 5ce7733, 1d0b713 merges
maindd702d0 into a77a252. It brings #11407, which changes DateInput's own files, such asDateInput.tsxanduseTypedDate.ts. Git stopped on one file, DateInput's record. There, #11407 changed FR25's requirement text and filled its verification row. It changed the FR5 row and the AR1, AR3 and AR5 row, listed its new browser spec, and dropped the Current-state bullet "Rejected entries (FR25)". The resolution keeps main's text and re-applies this pull request's AR6, AR8 and PR1 row, its PR2 row and its "Arrow step motion" bullet. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, Layer, Field, gestures, motion andusePagerunit tests: 145 files, 4,069 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 54 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 49 passed, 9 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 1d0b713, a77a252 merges
main9b5ad42 into eb91aaf. Git merged every file with no conflict, and main's changes touch no file this pull request edits. They change modules DateInput imports, such asField/InputClearButton(#11406), which it renders. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, Layer, Field, gestures, motion andusePagerunit tests: 145 files, 4,043 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped.Below a77a252, eb91aaf merges
mainbadd698 into 3e1b78d. It brings #9261's change to the animator, whichMonthPagerreaches throughusePager. Git merged every file with no conflict, and main's changes touch no file this pull request edits. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput, Layer, motion andusePagerunit tests: 94 files, 2,941 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped.Below eb91aaf, 3e1b78d merges
main1dbbc73 into 7b82b3b. It brings #10912's change toLayer/useLayer, a layer module DateInput imports, and #11321. Git stopped on one file, DateInput's record: main's #11321 changed the contract table's Review checks row and added the Current-state bullet "Rejected entries (FR25)". The resolution keeps main's rows and bullets. It re-applies this pull request's Compatibility/readiness sentence and its "Arrow step motion" bullet, and Prettier re-aligns the table. Main's other changes touch no file this pull request edits. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it. Changeset coverage passes.pnpm review:pre0 findings. The DateInput, DateTimeInput and Layer unit tests: 55 files, 1,746 passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped.Below 3e1b78d, 7b82b3b adds two commits to 438eb48. e724ddf merges
main1740654, which adds the internaluseCommittedRefhook (#11352). Git stopped on one file, DateInput's record: main's #11310 addedentryErrorBehaviorto the contract table and the Current-state bullet "Entry error behavior (FR24)". The resolution keeps main's rows and bullet. It re-applies this pull request's Compatibility/readiness sentence and its "Arrow step motion" bullet, and Prettier re-aligns the table. Main's other changes touch no file this pull request edits. 7b82b3b readsMonthPager's callback throughuseCommittedRef. The ref was written during render, which the React runtime record's INV17 forbids. A render that React discards would leave an uncommitted callback there. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm lint:strict,check:repoincluded, 0 errors, and no warning in this pull request's files. Changeset coverage passes.pnpm review:pre0 findings. The whole vitestuiproject: 999 files, 24,669 tests passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 7b82b3b, 438eb48 merges
mainf980d1c into f34d87f. It brings #10592, which changesusePager, the pagerMonthPagerimports. Git stopped on one file, DateInput's record, where main's #11311 widened two tables and addedonEntryErrorChange. The resolution keeps main's rows and re-applies this pull request's rows in those tables. They are the Compatibility/readiness pager sentence and the AR6, AR8, PR1 and PR2 verification rows. Prettier then re-aligns both tables.motion/MEASUREMENTS.mdmerged with both sides' lines. This pull request's own diff againstmainkeeps its size, +2,380/−477.pnpm typecheck0, afterpnpm buildas CI runs it.pnpm lint:strict,check:repoincluded, 0 errors, and no warning in this pull request's files. Changeset coverage passes.pnpm review:pre0 findings. The whole vitestuiproject: 997 files, 24,629 tests passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below 438eb48, f34d87f merges
main4245f38 into 75d06f9, which mergesmaind9d7b10 into f26df1b. Git merged every file with no conflict. Main changed one file this pull request edits,motion/MEASUREMENTS.md, and both sides' lines stay. Main also changed the gesture code under the pager and the sheet. The changes are a tap that wobbles at a scroll edge (#10829) and the menu press (#8078).pnpm typecheck0, afterpnpm buildas CI runs it.pnpm lint:strict,check:repoincluded, 0 errors, and no warning in this pull request's files. Changeset coverage passes.pnpm review:pre0 findings. The whole vitestuiproject: 992 files, 24,446 tests passed. Every DateInput and Calendar interaction spec, against Storybook built at that head, at one worker: Chromium 48 passed, 4 skipped. WebKit throughwebkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped. The DateInput and Calendar accessibility contracts: 111 passed.Below these merges, f26df1b is docs only: DateInput's Ownership boundary names the month grid parts that
MonthScroller.tsxexports toMonthPager. Below that, a675cf8 rewrites six comments in this pull request's files, with no code change. One named two pull requests, and five ran past the INV29 sentence limit.1e91935 merges
mainf27380a into e0fc1d6. Git merged every file with no conflict. Main's looping minute wheel (#10953) also editsmotion/uikit/datePicker.ts, and both its lines and this pull request's stay.pnpm check:repo0, knowledge and changesets included; Changeset coverage passes;pnpm review:pre0 findings. The whole vitestuiproject, 991 files, 24,387 tests passed.pnpm typecheck0;pnpm lint:strict0 errors, and no warning in this pull request's files.webkit-container.mjswith CI's four CPUs: 45 passed, 7 skipped.uiproject, 24,387 passed; Chromium 48 passed, 4 skipped; accessibility 111 passed.e0fc1d6 applied the review of new internal modules.
MonthPane,monthGridKeyTargetanduseMonthGridFocusmove back intoMonthScroller.tsx, andMonthPagerimports them from there. No behavior changes: the tests that readMonthPane.tsxreadMonthScroller.tsxagain, as onmain. The paragraphs below name the files as they were at those heads. At e0fc1d6, before the merge: the whole vitestuiproject, 24,103 passed; Chromium 48 passed, 4 skipped; WebKit 45 passed, 7 skipped; accessibility 111 passed.The head before, b5a487a, merges
main18af3dc into 90051f2, then drops the month track's data attribute. Git merged every file with no conflict. One case needed a hand edit in the merge. Main's #10924 adds a Tab case toMonthScroller.interaction.browser.spec.tsthat opens the calendar through its mouse helper. This pull request narrowed that helper to one argument. So the merge passes the Reduced Motion setting alone and keeps theLocatortype the case's rest helper needs.data-month-trackwas a new public data attribute, and only the browser proofs read it. The pager already holds its track throughtrackRef, so the attribute goes. The proofs reach the track as the months viewport's only child. The mouse case tells the snap scroller from the pager by its overflow. Every other data attribute this pull request writes is onemainalready ships on the month scroller:data-scroller,data-month,data-dateanddata-outside.check:knowledge0;check:changesets0;pnpm -F @astryxdesign/core typecheck0;pnpm lint:strict0 errors.webkit-container.mjswith CI's four CPUs: 189 passed, 17 skipped.90051f2 merges
mainc5cc8f4 into 7ea993f. Main changed five files this pull request edits, and git merged each with no conflict.MonthScroller.tsxhas #10610's shared steer.TouchDateField.tsx,TouchDateTimeField.tsxandDateInputTouch.test.tsxhave the sheet's resting content and the button text size. The fifth isMEASUREMENTS.md. The merge adds no edit of its own, so this pull request's own diff againstmainis unchanged, line for line. Main also changed shared code under the pager and the sheet since 7ea993f. That code is the spring retarget (#10607), motion stylesheet reads (#10728), SnapPaging's settle sampling (#10568) and the sheet's resting content (#8558).check:knowledge0;check:changesets0;pnpm -F @astryxdesign/core typecheck0;CI=true pnpm lint0 errors; the DateInput, DateTimeInput, TimeInput, Calendar, SnapPaging, hooks, motion and utils unit tests: 4,762 passed.MonthYearWheels,MonthPager,MonthScroller,MonthScrollerSteps,Wheel,WheelActivationandCalendarTodayHydrationagainst Storybook built at 90051f2: Chromium 39 passed, 4 skipped; WebKit (--cpus=4,LP_NUM_THREADS=4) 36 passed, 7 skipped.7ea993f merges
main3918a54 into 6f62fc8. Main's #10400 makes the sheet's calendar wait for today, and edits the month pane insideMonthScroller.tsx. This pull request moved that pane intoMonthPane.tsx, so those two edits land there.todayisPlainDate | nullwhile it is not known yet, and a nulltodaymarks no day. Every other file is git's own merge.check:knowledge0;check:changesets0;pnpm -F @astryxdesign/core typecheck0;CI=true pnpm lint0 errors; the DateInput, DateTimeInput, TimeInput, Calendar, SnapPaging and hooks unit tests: 2,552 passed.MonthYearWheels,MonthPager,MonthScroller,MonthScrollerStepsand fix(DateInput, DateTimeInput): the sheet's calendar waits for today, so hydration matches #10400'sCalendarTodayHydrationagainst Storybook built at that head: Chromium 27 passed, 2 skipped; WebKit (--cpus=4,LP_NUM_THREADS=4) 28 passed, 1 skipped.6f62fc8 restacks the earlier head feca481's 13 commits onto
mained2fd36, after #8209's squash 9d55076. It drops the three merges (cb69fb2, c6b74ea, 1baf567), which carried onlymainand #8209. Its diff againstmainequals the earlier head's own diff, line for line.check:knowledge0;check:changesets0;pnpm -F @astryxdesign/core typecheck0;CI=true pnpm lint0 errors. Prettier clean over this pull request's files. The DateInput, DateTimeInput, Calendar, motion, TimeInput, utils and hooks unit tests: 4,617 passed.MonthYearWheels,MonthPager,MonthScrollerandMonthScrollerStepsagainst Storybook built at that head: Chromium 23 passed, 2 skipped; WebKit (--cpus=4,LP_NUM_THREADS=4) 24 passed, 1 skipped.The earlier head feca481 merged #8209's merge with
main24d845b into the head before it, c6b74ea, with no hand edit. It then added one test commit formain's changes:translate, which a step and a settle move.check:knowledge0;pnpm -F @astryxdesign/core typecheck0; the DateInput, DateTimeInput and Calendar unit tests: 1,304 passed. The five calendar interaction specs ran against Storybook built at the stack's top, fix(DateInput, DateTimeInput): the sheet calendar's toggle and day tap under a finger #8206's head e4c6e2b, which contains that head. Chromium: 44 passed, 2 skipped. WebKit (--cpus=4,LP_NUM_THREADS=4): 43 passed, 3 skipped.The pre-merge head 9797905 has twelve commits on #8209's head a98a089. The first nine are the earlier head ea7ceae's, rebased past #9643/#9842 (see "Changed by the rebase onto #9643/#9842" below). Three test commits follow: the Hebrew paging case, the trackpad cases on fake timers, and the toggle proof's spy.
spec:AST-094FR45 asks for". That holds under main's FR45 and under the rewrite docs(AST-094, AST-057): motion guidance; gesture springs; swipe-row returns #9915 proposes.useCalendarDaysthrough../Calendar, butMonthPaneimports it from../Calendar/hooks/useCalendarDays, so the case could not fail. It now spies on that module, and first checks that opening the sheet records calls. WithMonthPaneunmemoized, the old case passes and the new one fails with 3 calls (commits 82842b2 and e9c1933, not part of the stack).check:knowledge0;check:changesets0;check:motion-roles0;pnpm -F @astryxdesign/core typecheck0;CI=true pnpm lint0 errors. The DateInput, TimeInput, DateTimeInput, Calendar, utils and hooks unit tests: 3,500 passed.pnpm review:pre0.pnpm install --frozen-lockfile0.MonthPager,MonthScroller,MonthScrollerStepsandMonthYearWheelsagainst Storybook built there: Chromium 23 passed, 2 skipped. WebKit (--cpus=4,LP_NUM_THREADS=4), twice: 48 passed, 2 skipped.Stacked above, #8206 defers the month/year toggle's
inertswap. In WebKit at 6404e3d, the first frame after a title tap comes 3–6× sooner. It takes 34 ms (DateInput) and 21 ms (DateTimeInput), against 97 ms and 131 ms. The longest frame gap in the fade's first 300 ms grows: DateInput 93/111 against 75/51 ms (open/close), DateTimeInput 155 against 123 ms (open). DateTimeInput's figures predate its opaque plate.Public and internal API delta
Public: none. No package export, public prop, type or default changes, and no new
data-*attribute.Internal: one new module in
packages/core/src/DateInput/, and three changes. The touch sheets render the new pager, and the mouse calendar keepsMonthScroller.MonthPager, a new component re-exported fromdatePickerTouch.ts. It takesMonthScrollerProps:<MonthPager {...monthScrollerProps} />. Why: under a finger, both sheets page the calendar like UIDatePicker, one month per flick. Existing modules considered, and why they don't fit:MonthScrollerandCarouselscroll natively with scroll-snap, so a flick can cross two pages.MonthPagerbuilds on the sharedusePagerinstead.MonthScroller.tsxexportsMonthPane,MonthPaneProps,monthGridKeyTarget,useMonthGridFocus,MonthGridFocusOptionsandMonthGridFocus:import {MonthPane, useMonthGridFocus} from './MonthScroller';. Onmainthe pane and its key handling are private to it. Why: the pager renders the same month grid, with the same focus and keys.useOwnScrollGesture'sOwnedAxisgains'pager':useOwnScrollGesture(viewportRef, 'pager');. Why: a drag on the pager splits with the sheet as UIKit's does, at 10 pt of travel.datePickertable (motion/uikit/datePicker.ts) gainscalendar.pagerandcalendar.chevron:datePicker.calendar.pager.release // 'paging'. Why: it records UIKit's measured paging, and the pager and its tests follow it.data-scroller="months",data-month,data-dateanddata-outside, now set byMonthPagerandMonthPane.component:DateInputnamesMonthPagerin PR2 and the Compatibility/readiness row. Its Ownership boundary namesMonthPane,monthGridKeyTargetanduseMonthGridFocus, the month grid partsMonthScroller.tsxexports. It also names whyuseOwnScrollGesture.tsbuilds on none of the shared touch modules.Size: +2,386/−477 lines (be7f821..dba8c0a); product code (
packages/core/src, no tests) +753/−204. The sizes below were measured at this head againstmainbe7f821. At component level (the repository's size report, gzip of the JavaScript each import loads eagerly): DateInput +7,126 B, DateTimeInput +7,467 B; CSS unchanged. Published package (the repository's package-size report):@astryxdesign/coredownload +11.9 kB (+0.2%), unpacked +48.4 kB, 4 more files. The other 10 packages are unchanged.Evidence
real-device iOS: the run on an iPhone passed at 5025fd7. f34d87f merged main's change to the gesture code under the pager. So a side-by-side ran at f34d87f, against this pull request's earlier head 6f62fc8, on an iPhone and an Android phone. It showed no major difference, with Reduce Motion on or off. 438eb48 merged #10592, whose
usePagerchange reachesMonthPager. On an Android phone, its side-by-side against 6f62fc8 showed no major difference. 7b82b3b changedMonthPagerand mergedmainagain, so the side-by-side ran again there, on an iPhone and an Android phone. It found no major difference. One flick case differed. With Reduce Motion on the Android phone, a flick at 300 px/s paged 4 of 4 times at 7b82b3b and 1 of 4 at 6f62fc8. That speed is the paging threshold itself, and the paging rule and its velocity filter are the same at both heads. In Chromium at each head, the same scripted flick paged 0 of 3 times at 286 px/s and 3 of 3 at 316 px/s. At 300 px/s it paged 7 of 9 times at 6f62fc8 and 5 of 9 at 7b82b3b. 3e1b78d merged main's change toLayer/useLayer, which DateInput imports, so that run did not carry. So the side-by-side ran again at 3e1b78d, against 6f62fc8, on an iPhone and an Android phone. It found no major difference: every case matched on both phones, with Reduce Motion on and off. A fast flick at about 600 px/s paged exactly one month in every take at both heads. With Reduce Motion on, that was 5 of 5 per head on the Android phone and 3 of 3 on the iPhone. Next, eb91aaf merged main's animator change, whichMonthPagerreaches throughusePager, so that run did not carry. So the side-by-side ran again at eb91aaf, against 6f62fc8, on an iPhone and an Android phone. It found no major difference: every month the calendar showed matched on both phones, with Reduce Motion on and off. With Reduce Motion on the Android phone, a fast flick paged 4 of 4 times at both heads. Next, a77a252 merged main's change toField/InputClearButton, which DateInput renders, and 1d0b713 merged #11407, which changes DateInput's own files. So that run did not carry, and the side-by-side ran again at 5ce7733, whose app code 1135ab2 kept. It ran against 6f62fc8, on an iPhone and an Android phone. It found no major difference: every month read and every transition matched on both phones, with Reduce Motion on and off. Later heads merged main's changes toutils/sharedResizeObserver, whichMonthPagerimports, toutils/timeFormat, whichTouchDateTimeFieldimports, and toLayer/useLayer, a shared layer module. They also merged #11485's changes toDateInput.tsxandFormLayout.tsx, which this pull request's story imports directly. Main's #11679 also changedtheme/defineTheme, which this pull request's story imports directly. So that run did not carry, and the side-by-side ran again at ba40c16, whose app code 21f1b75 kept. It ran against 6f62fc8, on an iPhone and an Android phone. Every end state matched at both builds. That held on the iPhone with Reduce Motion on and off, and on the Android phone in normal motion. At 21f1b75, a frame-checked rerun repeated the side-by-side's 14 gestures against 6f62fc8, with Reduce Motion off. Its frames showed no major difference wherever both builds took the same outcome. On a real iPhone 14 (iOS 26.2), a page log recorded the calendar's month positions on every animation frame. All 14 gestures ended on the same month at both builds. Each moving gesture had the same number of position updates, within one, and settled within one frame. Apart from the nine Previous taps, with one frame of tolerance, the largest difference was 22.3 px, on Next, and at most 10 px elsewhere. The nine Previous taps matched tap by tap, but mid-run one build was a page (356 px) ahead for a while, from tap timing. Safari on iOS gives the page a new scroll position on only some drawn frames, in both builds alike. So an iOS Simulator recording (iPhone 11, iOS 26.1), at 60 fps during motion, added the drawn frames. The Simulator ran local production builds, from checkouts of both commits. Each single tap's page flip took 17 or 18 frames at both builds and ended within 3 px. The largest per-frame difference was 10 px or less, once 17 px, and 20 px from the double tap's timing. Injected swipes on the Simulator give no repeatable flick on either build, so the flicks rest on the iPhone log. There, both builds paged one month on both flicks. On the Simulator, the holds where both builds took the same outcome matched within 4 px. One hold differed only because the builds began it on different months, after different flick outcomes. Android: the Android emulator set DEC-27 asks for (normal, Remove animations, 4× CPU) passed at 7ea993f. Its flicks passed again at 90051f2 (below). A second Android emulator set passes all six claims at b5a487a (normal, 4× CPU, animations removed). The Android emulator set ran at ba40c16, whose app code 21f1b75 kept, in Chrome 133 with Gboard on Android 16. Its 4 cells passed at each setting, 12 of 12: normal, 4× CPU and Remove animations. They provecomponent:DateInputPR2 and FR22 andspec:AST-094FR36–FR38, also in the Japanese calendar (FR20, FR21). Two steps in these cells check the sheet split. A drag that moved 10 px sideways first, then drifted down, paged the calendar one month, and the sheet stayed. A drag that went down first moved the sheet and closed it, and the month stayed. One normal take was refused for an 800 ms frame stall, over the 250 ms that timing cells allow. A rerun of all 4 cells passed. A first 4× CPU run was refused for frame stalls on a freshly booted emulator, and its re-take passed. Then ed2b57f merged main's changes toLayer/useLayer,Layer/gestureCounterandLayer/outsidePress, shared layer modules, so none of these runs carried (DEC-31). At ed2b57f, an iPhone 14 (iOS 26.2) ran the calendar with Reduce Motion on, against 6f62fc8. Its screen recording drew the same step at both builds: Next fades through blank in about 200 ms, with no travel. A per-frame page read agrees, also after Reduce Motion is switched on while the calendar is open. At ed2b57f, opacity reached 0 by 158 ms, the month changed at 179 ms, and opacity was back by 258 ms. 6f62fc8 drew the same fade in that take. In Chromium and WebKit with reduced motion emulated, the step dips in opacity and lands in one frame, also after a switch while open. On the Android emulator, in Chrome 133 with Gboard on Android 16, the side-by-side ran against 6f62fc8. In normal motion and with animations removed, all 4 cells passed at both builds. Every step showed the same month at both builds. One flick back at 6f62fc8 did not page in normal motion. On repeats it paged at both builds, 3 of 3 at ed2b57f and 2 of 2 at 6f62fc8. With animations removed, one take per build was refused for a frame stall of 283 ms or 317 ms. Timing cells allow 250 ms. Their reruns passed. These takes at ed2b57f are also its Android emulator set. Slow-device profile: not passed at ed2b57f. All 8 takes under 4× CPU were refused, each for a frame stall of 0.6 to 1.2 s as the sheet opens. AST-094 DEC-27's slow-device cell is therefore missing for this head. The same cells at 6f62fc8 stall the same way on this emulator. These runs carry to this head, dba8c0a, per the owners' DEC-31 check. The owners accepted this partial slow-device set for this head. At this head, dba8c0a, the side-by-side ran on an iPhone 14 (iOS 26.2) in normal motion, against 6f62fc8, in Safari oncore-dateinput--bottom-sheet-calendar. Reduce Motion read 0 in Settings before the takes, and each take read its build'sversion.json. The builds took turns, one round of gestures at a time: two takes per gesture, and one of the arrows. Every take ended on the same month at both builds. A fast flick paged exactly one month, from October to November, 2 of 2 at each build. It settled through the same 4 to 7 pt overshoot. A 130 pt drag, held and released, sprang back to October, 2 of 2 at each build, from the same 120 pt peak. Next, Next and Previous went from October to November at both builds. A drag past December, the story's last month, held December. A drag past January, its first month, held January. Each was 2 of 2 at each build, with an 80 pt peak at both. Frame by frame, the offsets followed the same curve at both builds. For example, the drag sprang back through 102, 82, 58, 40, 29, 18, 11, 7, 4, 2 and 0 pt at this head. At 6f62fc8 it went through 111, 93, 69, 49, 33, 22, 13, 7, 4, 2 and 0 pt. The screen recording ran at 35 to 37 frames per second. The calendar's repeating day grid aliased one frame in each drag take and the first two frames of each flick. Those frames are left out, so the flick has no measured peak.Android, at 90051f2 (the flicks). Chrome 133 with Gboard on the Android 16 emulator ran against that head's own deployment (its
version.jsonchecked), on thecore-dateinput--bottom-sheet-calendarstory. It ran at normal speed and at 4× CPU, with each take begun on a quiet host. A fast flick, released at 0.8 px/ms or more, pages exactly one month back: normal 7/7, 4× CPU 5/5. The validity rules are the ones below. One 4× CPU take rested 61 ms before its lift (180 ms from down to lift), so it is a resting finger, not a flick.Android, at 7ea993f (the Android emulator set DEC-27 asks for). Chrome 133 with Gboard on the Android 16 emulator ran against that head's own deployment (its
version.jsonchecked), on thecore-dateinput--bottom-sheet-calendarstory. The Japanese case is oncalendar-system-presentations. Each claim ran at normal speed, at 4× CPU and with the system's Remove animations on (checked in the page). The sheet opens from the calendar button, and the field never takes focus, so the on-screen keyboard stays hidden in every take.A take counts only when its gesture is valid. The 1/3 drag takes 400 ms or more (a faster one pages on its release velocity, as UIDatePicker does). A flick lasts 150 ms or less from down to lift, and lifts 40 ms or less after its last move. A finger still for longer before its lift releases at rest (
spec:AST-100FR2). The normal and 4× CPU flicks are from a second run on a quiet host. In the first run, one normal take at 2.11 px/ms rested 118 ms before its lift (179 ms from down to lift). So it was a resting finger, not a flick. The two valid Remove-animations flicks released under 0.8 px/ms, and both paged. One normal tap, stretched by the host's load into a 1.18 s press, is a long press, not a tap, and is not counted.At this pull request's preview, the deploy of 3704441 has this head's own paging code. Later commits add tests and merges with
main, and the merge at 7ea993f adds #10400's null-today guard to the pane. The recordings use the iOS 26.2 Simulator: Mobile Safari, iPhone 17 Pro. The preview carries no touch overlay, so each row names its stroke; a stroke reaches the page every 16 ms. I reviewed every frame against the paging rules above and the earlier recordings below; each row gives its largest frame gap during motion. Persian and Hebrew needTemporal, which this Safari lacks, so the calendar row uses the Japanese calendar; the Hebrew months are the unit test's.Earlier, against
main; the motion is unchanged since.Changed by the rebase onto #9643/#9842
Main renders each month pane in the active calendar (#9643/#9842). This head keeps that in the shared pane and in month paging:
MonthPanetakes themonthModeland reads its month throughmonthAt,useCalendarDayswith the calendar,formatCalendarMonthLabel,isInCalendarMonthandformatCalendarDate, as main's scroller pane did.monthGridKeyTargetmoves PageUp and PageDown by the calendar's months, and with Shift by its years (calendarShiftMonths,calendarShiftYears): a Hebrew leap year has 13 months.useMonthGridFocusindexes months through the model.DateInputTouch.calendar.test.tsx"pages the keyboard focus by calendar months, and by calendar years with Shift". PageUp from 1 Nisan 5784 lands in Adar II. Shift+PageUp from 10 Shevat 5785 lands on 10 Shevat 5784, 13 months back across Adar I. Gregorian month arithmetic fails the first case, and twelve calendar months for Shift fail the second.Rule-47 fix in this pull request's tests
DateInputTouch.test.tsx's two trackpad cases now run on fake timers. The gesture host ends a trackpad swipe 220 ms after its last wheel. An 8 ms real-timer step let a runner stall end it early.Review notes
withLayoutAsyncleft abovebeforeAllinDateInputTouch.test.tsx. Another isMonthScroller's coarse-pointer Reduced Motion dip, which can no longer run now that the pager handles touch.