Repository navigation
spec(TreeList): an expanding group's own motion under a coarse pointer (FR8) - #8691
Conversation
…r (FR8) Draft claim for an engineering owner's approval: under a coarse pointer an expanding group slides out from under its parent as one block inside a growing clip, and back on collapse, while the Chevron turns, on a motion role; under a fine pointer it appears and leaves at once. The rows after the group follow the animated layout handle's rules. OQ1 asks what they do without a handle.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
Posted by Cindy's agent on her behalf. Thanks. Almost everything here is already decided by current records: the group's own slide under a touch pointer (
With those, this can be approved. If it stays idle, we'll make the edits after about 30 minutes, keeping your authorship. |
…nce without a handle; the slide is a compositor-only reveal Per the owner's review: OQ1 is decided by spec:AST-105 FR2, so FR8 states it, and the group's rows slide by transform only, clipped to the group's box, with no clip that changes size (spec:AST-094 FR5).
|
/approve-spec 49b7f12 |
There was a problem hiding this comment.
Changes requested: an engineering owner approved FR8 for this head, but its fine-pointer rule conflicts with spec:AST-105 once TreeList holds an animatedLayout handle. FR8 (line 109), AV5 and the FR8 verification row keep the group still under a mouse, while AST-105 FR4–FR5 make the group’s own animation and the rows after it one shared springs.settle motion under every pointer. Please say in FR8 what the group does while TreeList holds a handle, or amend AST-105 in this pull request to admit a group that changes at once under a fine pointer, and scope AV5’s reduced-motion fade to a coarse pointer as design:reduced-motion DR2–DR3 do. The new head then needs a fresh /approve-spec from an engineering owner.
[Automated review]
| | FR5 | `TreeListItemData` MUST admit `className`, `style`, and `xstyle` as one per-item styling seam. Every supplied value MUST compose on the same Item row box; an implementation MUST NOT treat current support for only one mechanism as authority to exclude the other two. | Owner decision; `architecture:public-component-api` INV5–INV6; `spec:AST-002/DEC-1` | Settled intent; implementation may be staged | | ||
| | FR6 | The Item row box is the logical element that paints the row, owns its hover state, and contains Start content, Item label and description, and End content. The styling seam MUST NOT move to the semantic `<li>` or another element without a compatibility decision. | Owner decision and the caller-owned per-row interaction boundary | Settled intent | | ||
| | FR7 | A click on an Item row outside its Item label performs the row's action: an Item with `onClick` runs it; otherwise an Item with children toggles; otherwise an Item whose only action is its link follows that link as Enter does, with modified and middle clicks following the shared enlarged-surface rule in `family:navigation-destinations`. The Chevron and controls in Start content and End content keep their own activation, and a disabled Item does nothing. | Owner decision; `family:navigation-destinations` | Settled intent; implementation may be staged | | ||
| | FR8 | Expanding or collapsing an Item with children MUST play its group's own motion: under a coarse primary pointer its rows slide out from under the parent as one block, clipped to the group's box, and back on collapse, while the Chevron turns, by transform only (`spec:AST-094` FR4–FR5); under a fine pointer the group appears and leaves at once. Without an `animatedLayout` handle the rows after the group take their places at once (`spec:AST-105` FR2). | UIKit outline list (`UICollectionView`), iOS 26.2; `spec:AST-105` FR2 | Proposed; awaiting an engineering owner's approval | |
There was a problem hiding this comment.
Under a fine pointer this keeps the group still even while TreeList holds an animatedLayout handle, but spec:AST-105 FR4–FR5 make the changed element’s own animation and the rows after it one shared springs.settle motion under every pointer. Please state the with-handle case here (and in AV5 and the FR8 verification row), or amend AST-105 in this pull request.
| change while the same logical row remains the target of all three styling | ||
| inputs and keeps the observable boundary in FR6. | ||
| - **AV5 — Expansion motion.** Under a fine pointer a group appears and leaves at | ||
| once; under reduced motion nothing travels, and the group fades where it lands |
There was a problem hiding this comment.
Unscoped, this fade also reads for a mouse with reduced motion, where design:reduced-motion DR3 requires an immediate change; “under reduced motion and a coarse primary pointer”, with the exit fading out where it is (DR2), removes the double reading.
|
Posted by Cindy's agent on her behalf. One more edit, based on CodeBunny's note. When the app passes an animated-layout handle, |
|
/approve-spec 49b7f12 |
…hared motion under every pointer
|
/approve-spec 9b43682 |
|
That The gate only accepts the exact current head, so post this instead: A new commit invalidates the command, so repeat it after any push. |
There was a problem hiding this comment.
Changes requested: an engineering owner approved FR8 on this head and its with-handle case now matches spec:AST-105, but two parts of the TreeList record still disagree with current specs. AV5's reduced-motion fade (lines 123–125) has no pointer condition, so it also tells a mouse user with Reduce Motion that the group fades, where design:reduced-motion DR3 requires an immediate change; please scope it to a coarse primary pointer (fading in where the group lands and out where it is) and list an animated property under a fine pointer among the FR8 verification row's failures. The Compatibility and migration section (lines 58–60) still says the released default is preserved, though FR8 changes it for every TreeList under a coarse pointer; please record that, as component:DropdownMenu does for its own touch default. The corrected head then needs a fresh /approve-spec from an engineering owner.
[Automated review]
| - **AV5 — Expansion motion.** Without an `animatedLayout` handle, under a fine | ||
| pointer a group appears and leaves at once; under reduced motion nothing travels, and the group fades where it lands | ||
| (`design:reduced-motion`). |
There was a problem hiding this comment.
The fade here has no pointer condition, so it also reads for a mouse with Reduce Motion, where design:reduced-motion DR3 requires an immediate change with no animated property (and FR8 sends the with-handle case to spec:AST-105 FR4, "an immediate change otherwise"). Suggest: "under reduced motion nothing travels: under a coarse primary pointer the group fades in where it lands and out where it is (DR2); otherwise it changes at once (DR3)", plus an animated property under a fine pointer with reduced motion in the FR8 verification row's failures.
| | FR5 | `TreeListItemData` MUST admit `className`, `style`, and `xstyle` as one per-item styling seam. Every supplied value MUST compose on the same Item row box; an implementation MUST NOT treat current support for only one mechanism as authority to exclude the other two. | Owner decision; `architecture:public-component-api` INV5–INV6; `spec:AST-002/DEC-1` | Settled intent; implementation may be staged | | ||
| | FR6 | The Item row box is the logical element that paints the row, owns its hover state, and contains Start content, Item label and description, and End content. The styling seam MUST NOT move to the semantic `<li>` or another element without a compatibility decision. | Owner decision and the caller-owned per-row interaction boundary | Settled intent | | ||
| | FR7 | A click on an Item row outside its Item label performs the row's action: an Item with `onClick` runs it; otherwise an Item with children toggles; otherwise an Item whose only action is its link follows that link as Enter does, with modified and middle clicks following the shared enlarged-surface rule in `family:navigation-destinations`. The Chevron and controls in Start content and End content keep their own activation, and a disabled Item does nothing. | Owner decision; `family:navigation-destinations` | Settled intent; implementation may be staged | | ||
| | FR8 | Expanding or collapsing an Item with children MUST play its group's own motion: under a coarse primary pointer its rows slide out from under the parent as one block, clipped to the group's box, and back on collapse, while the Chevron turns, by transform only (`spec:AST-094` FR4–FR5); under a fine pointer the group appears and leaves at once. With an `animatedLayout` handle, the group and the rows after it follow `spec:AST-105`'s shared motion under every pointer (FR4, FR5); without one, the group's own slide stays touch-only and the rows after the group take their places at once (`spec:AST-105` FR2). | UIKit outline list (`UICollectionView`), iOS 26.2; `spec:AST-105` FR2 | Proposed; awaiting an engineering owner's approval | |
There was a problem hiding this comment.
FR8 changes the released default for every TreeList under a coarse primary pointer, but Compatibility and migration (lines 58–60) still says "Released default preserved: yes". Please record it there, for example "no under a coarse primary pointer, where a toggled group slides (FR8); fine pointers are unchanged without an animatedLayout handle", as component:DropdownMenu does for its touch default.
…bility records FR8's touch default
|
/approve-spec cfb05b3 |
There was a problem hiding this comment.
Changes requested: an engineering owner approved FR8 on this revision, and both earlier corrections (AV5's coarse-pointer fade and the compatibility entry) are in, but the record's Contract at a glance now contradicts its own body. Its Compatibility/readiness row (line 43) still says "The contract is additive and preserves default output", while Compatibility and migration (lines 58–60) records FR8's changed touch default; please make that row say the default output is preserved except FR8's coarse-pointer group motion, since architecture:knowledge-contracts does not let the projection contradict the body. While editing, consider also saying in FR8 whether a collapsing group's rows leave the accessibility tree when the slide starts, and failing a fade under a mouse without a handle in the FR8 verification row. The corrected revision then needs a fresh /approve-spec from an engineering owner.
[Automated review]
| - Released default preserved: `yes` | ||
| - Compatibility class: additive optional public API; no default rendering, DOM, | ||
| styling, or interaction changes when the inputs are absent | ||
| - Released default preserved: `no` under a coarse primary pointer, where a |
There was a problem hiding this comment.
This bullet now records FR8's touch default, but the Contract at a glance row at line 43 still reads "The contract is additive and preserves default output". architecture:knowledge-contracts has the projection state compatibility "without replacing or contradicting the authoritative body"; please make line 43 say the default output is preserved except FR8's coarse-pointer group motion.
…ws leave the tree as the slide starts
|
/approve-spec ff21a66 |
There was a problem hiding this comment.
Approval recommended: an engineering owner approved this exact revision, and FR8, AV5 and the compatibility entries now agree with the current touch-presentation, animated-layout, reduced-motion and compatibility specs, including the Contract at a glance row that the previous revision left behind. No further changes are needed. One optional follow-up: FR8's state cell still reads “Proposed; awaiting an engineering owner's approval”, which will look pending once the record is merged.
[Automated review]
| | FR5 | `TreeListItemData` MUST admit `className`, `style`, and `xstyle` as one per-item styling seam. Every supplied value MUST compose on the same Item row box; an implementation MUST NOT treat current support for only one mechanism as authority to exclude the other two. | Owner decision; `architecture:public-component-api` INV5–INV6; `spec:AST-002/DEC-1` | Settled intent; implementation may be staged | | ||
| | FR6 | The Item row box is the logical element that paints the row, owns its hover state, and contains Start content, Item label and description, and End content. The styling seam MUST NOT move to the semantic `<li>` or another element without a compatibility decision. | Owner decision and the caller-owned per-row interaction boundary | Settled intent | | ||
| | FR7 | A click on an Item row outside its Item label performs the row's action: an Item with `onClick` runs it; otherwise an Item with children toggles; otherwise an Item whose only action is its link follows that link as Enter does, with modified and middle clicks following the shared enlarged-surface rule in `family:navigation-destinations`. The Chevron and controls in Start content and End content keep their own activation, and a disabled Item does nothing. | Owner decision; `family:navigation-destinations` | Settled intent; implementation may be staged | | ||
| | FR8 | Expanding or collapsing an Item with children MUST play its group's own motion: under a coarse primary pointer its rows slide out from under the parent as one block, clipped to the group's box, and back on collapse, a collapsing group's rows leaving the accessibility tree as the slide starts, while the Chevron turns, by transform only (`spec:AST-094` FR4–FR5); under a fine pointer the group appears and leaves at once. With an `animatedLayout` handle, the group and the rows after it follow `spec:AST-105`'s shared motion under every pointer (FR4, FR5); without one, the group's own slide stays touch-only and the rows after the group take their places at once (`spec:AST-105` FR2). | UIKit outline list (`UICollectionView`), iOS 26.2; `spec:AST-105` FR2 | Proposed; awaiting an engineering owner's approval | |
There was a problem hiding this comment.
Optional, not needed for approval: this row's state still reads “Proposed; awaiting an engineering owner's approval” although an engineering owner approved this revision. “Settled intent; implementation may be staged”, as FR5 and FR7 read, would keep the merged record accurate; any new commit needs a fresh /approve-spec.
…dopters cite AST-108 FR4a main gave component:TreeList FR8 to an expanding group's own motion (#8691). The animatedLayout row becomes FR9 (its Verification row and the interaction spec's references too), and 'without one' now defers to FR8. AST-108 is on main, so Collapsible FR10 and TreeList FR9 cite its FR4a (coordinated animations share one clock) for the chevron moving on the same motion as the glide.
Review only this PR's change: vjeux/astryx@d9b43cf...49b7f12
Exact decision needed
May
component:TreeListadmit an expanding group's own motion under a coarse pointer, as the open implementation (#8088) plays it?Existing authority searched
component:TreeList,spec:AST-094DEC-1, FR4, FR5 and FR13,spec:AST-017FR59,design:reduced-motionDR2, andspec:AST-105(TreeList adopts the handle; FR2: without one, content after a change takes its place at once). No current claim gives TreeList an expansion motion.Decision
animatedLayouthandle, the rows after the group take their places at once (spec:AST-105FR2); with one they glide (FR3).Rejected alternatives
None recorded.
Claim scope and non-goals
The group's own motion only. Not the handle's glide (
spec:AST-105), selection, or row activation.Evidence and implementation relationship
iOS 26.2
UICollectionViewoutline disclosure read on the simulator. #8088 implements the slide with red-first proofs; it takes FR8's rule for the rows after the group next, red first.Writing rubric results
Scope
Validation
pnpm check:knowledge(aligned), Prettier andgit diff --check: clean.