Repository navigation
fix(List): a mouse drop plays the same settle spring as a finger's drop - #11600
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
This pull request needs an owner decision before it can be approved, and it has two blocking findings to fix.
The new FR3 bullet in the reorderable-collections spec (on a drop, the rows glide into place with every pointer) is a requirement the current spec does not state. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so if they are an engineering owner.
Blocking:
- Desktop behavior change needs an owner decision:
rebase()inlistReorderEngine.tsxno longer gates the drop's spring on the touch presentation, so every mouse and trackpad drop in List, TransferList and ListInput now animates; either gate the drop glide to touch input or cite the owner decision for this desktop behavior. - Grabbing the dropped row again before its glide ends and releasing it in place leaves
z-index: 1and an inline background colour on that row after the rows rest, becausebegin()saves the ride-above values as the row's own and the earlier drop'srestWhenDone()stops while the row is dragged again; restore the earlier drop's saved values beforebegin()reads them, and add a browser test for that path.
Claims and files checked
- A mouse or fine-pen drop glides the rows, as a finger's does: verified (the drop's spring is no longer gated; three rows animate after a mouse drop in a real browser).
- The dropped row starts from its preview's place at the release speed, and the rows it passed start from their old places: verified (the drop's glide calls and measured offsets).
- The glide uses the theme's settle spring: verified (the glide reads the settle role once; unit test).
- Before, a mouse drop jumped into place: verified (base frames show the final order at release, with nothing animating).
- TransferList and ListInput follow: verified (2 and 6 animations run after a mouse drop).
- Under Reduce Motion a mouse drop lands at once: verified (nothing runs 100 ms after the drop; the new browser test).
- A mouse cancel still restores at once: verified (the cancel path keeps the touch-only gate).
- Reorder-mode key moves still slide only under a finger: verified (the key-move path keeps the gate).
- The dropped row rides above on an opaque background and is itself again once the rows rest: false on one path (a re-grab released in place during the glide keeps both styles).
- The same overlap under a finger is fixed: verified (the base never set the row's stacking or background during the glide).
- No API change: verified (the API surface generator lists no rows).
- The glide code moves unchanged into its own module: verified (identical apart from the rename).
- Test counts in the description: partly verified (the List reorder unit file passes 69 of 69; the browser test counts were not rerun).
- The animated-layout spec makes every glide share one spring: imprecise (it gives a spring only to a gesture's release, which a drop is).
.changeset/reorder-drop-glide.md: clear; claims checked above.docs/specs/AST-103-reorderable/spec.md: the new FR3 bullet waits on an owner decision.packages/core/src/List/List.doc.mjs: clear.packages/core/src/List/List.tsx: clear (JSDoc only).packages/core/src/List/ListReorderTouch.ts: clear.packages/core/src/List/__tests__/ListReorder.test.tsx: clear.packages/core/src/List/__tests__/ListReorderPointer.interaction.browser.spec.ts: clear; no case covers a re-grab during the glide.packages/core/src/List/listReorderEngine.tsx: two blocking findings.packages/core/src/List/listReorderGlide.ts: header suggestion only.packages/core/src/reorderable/createReorderable.doc.mjs: clear.packages/core/src/utils/rowMotion.ts: clear.packages/lab/src/ListInput/ListInput.doc.mjs: clear.
871bb33 to
c8b91dd
Compare
There was a problem hiding this comment.
This pull request needs an owner decision before it can be approved, and it has four blocking findings to fix.
The new FR3 bullet in the reorderable-collections spec (on a drop, the rows glide to their new places with every pointer, each from its place before the drag, on the theme's move curve) is a requirement the current spec does not state. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so if they are an engineering owner.
Blocking:
- A finger's drop no longer settles from where the row was let go on a spring at the release velocity:
rebase()starts every moved row at its place before the drag on the move curve and the velocity tracking is gone, which the touch-presentations spec (FR6, FR45) and the animated-layout spec (FR4, which the new bullet cites) still require for a gesture's release; keep the drop's release spring or amend those clauses in this pull request. - Desktop behavior change needs an owner decision: the drop's glide in
listReorderEngine.tsxno longer checks the touch presentation, so every mouse and trackpad drop in List, TransferList and ListInput now animates; either gate the drop glide to touch input or cite the owner decision for this desktop behavior. - Grabbing the dropped row again during its glide and releasing it in place leaves
z-index: 1and an inline background colour on that row after the rows rest, becausebegin()saves the ride-above values as the row's own and the earlier drop'srestWhenDone()stops while the row is dragged again; restore the earlier drop's saved values beforebegin()reads them, and add a browser test for that path. - The description describes the earlier drop (the shared settle spring, the dropped row starting where its preview was at the release speed, a finger's glide unchanged, one glide and two follows in the unit test), not this head's move-curve drop from each row's origin; update it and retake the before and after strips.
Non-blocking: the new glide module's header runs past the usual length, one comment in restWhenDone() still says the drop plays springs, and the changeset's "a cancelled drag still puts everything back at once" holds for a mouse only.
Claims and files checked
- A mouse or fine-pen drop glides the rows: verified (no presentation check on the drop; three rows animate after a mouse drop in a real browser).
- The dropped row glides from where its preview was, at the release speed: false (it starts at its place before the drag, with no velocity).
- The rows it passed glide from their old places: verified (they start one row away at release).
- The glide plays the shared settle spring: false (it plays the theme's move curve over the medium duration).
- The dropped row rides above on the preview's background and is itself again at rest: false on one path (a re-grab released in place during the glide keeps both styles).
- The same overlap under a finger is fixed: verified (the base set no stacking on the row during the glide).
- TransferList and ListInput follow: verified for TransferList in a real browser; ListInput uses the same engine.
- Under Reduce Motion a mouse drop lands at once: verified (no row animates two frames after the drop).
- A finger's Reduce Motion drop is unchanged: imprecise (the dropped row now cross-fades too, where the base put it in place).
- A mouse cancel stays immediate: verified (the cancel keeps its touch-only check).
- Reorder-mode key moves still slide only under a finger: verified (that path keeps its check).
- No API change: verified (the API surface generator lists no rows).
- A finger's glide is unchanged apart from the ride-above: false (a finger's drop and reorder-mode moves switch to the move curve).
- The spec bullet uses the shared settle role, and the animated-layout spec gives every glide one spring: false (the bullet says the move curve; that spec gives a gesture's release a spring).
- The new unit test counts one glide, two follows and one read of the settle role: false (it expects three slides and one curve read).
- Test counts in the description: not rerun as stated; the wider unit run passes at this head.
- The glide code moves out of the touch module: partly (moved and rewritten around the curve).
- The changeset's drop, before-state, reorder-mode, TransferList, ListInput and Reduce Motion claims: verified; its cancel claim holds for a mouse only.
.changeset/reorder-drop-glide.md: cancel wording, non-blocking.docs/specs/AST-103-reorderable/spec.md: the new FR3 bullet waits on an owner decision and cites the animated-layout spec for the opposite of its release clause.packages/core/src/List/List.doc.mjs: clear.packages/core/src/List/List.tsx: clear (JSDoc only).packages/core/src/List/ListReorderTouch.ts: clear.packages/core/src/List/__tests__/ListReorder.test.tsx: clear.packages/core/src/List/__tests__/ListReorderMode.interaction.browser.spec.ts: clear.packages/core/src/List/__tests__/ListReorderPointer.interaction.browser.spec.ts: clear; no case covers a re-grab during the glide.packages/core/src/List/__tests__/ListReorderTouch.interaction.browser.spec.ts: clear.packages/core/src/List/listReorderEngine.tsx: three blocking findings and one comment suggestion.packages/core/src/List/listReorderGlide.ts: header suggestion only.packages/core/src/reorderable/createReorderable.doc.mjs: clear.packages/core/src/utils/rowMotion.ts: clear.packages/lab/src/ListInput/ListInput.doc.mjs: clear.
josephfarina
left a comment
There was a problem hiding this comment.
Thanks Ernest. A drop that glides with a mouse is a nice touch, riding the dropped row above the others on an opaque background fixes the show-through, and moving the glide out of the touch-only module into listReorderGlide.ts reads cleanly. The before and after strips made the motion easy to compare.
I can't approve this one yet. The main issue is that the drop's motion contradicts two current records, and the effect shows up in the preview.
Why it can't ship yet
1. A drop is a gesture's release, and the records say a release settles on a spring from its velocity. AST-105 FR4: "A gesture's release settles on spec:AST-094's spring from its release velocity; curve tokens govern glides that no gesture releases." AST-094 FR6: "a release MUST hand its velocity to the spring that follows", and FR45 says gesture-driven motion where the release velocity matters plays a spring from that velocity "under every pointer". This PR plays the move curve from the row's old place and removes the velocity tracking. The new FR3 bullet also cites AST-105 FR4 for the curve, but FR4 says the opposite for a release.
2. What people see: the dropped row jumps back, then travels. In this PR's preview (List, Reorderable story, mouse), I dragged Inbox down past two rows and let go. Right after release, Inbox is drawn back at its starting place (20px from the top; it started at 16px), then it glides 74px down to its new place over about 300ms, while the copy under the pointer disappears at the drop. Your strip shows the same: at "0 ms after release", the move-curve row is back in the old order.
3. Grabbing the row again while it glides leaves styles behind. begin() saves the row's inline z-index and background-color as its own values. If the previous drop's ride-above styles are still on it, those are what it saves. The earlier drop's restWhenDone then returns early (the row is being dragged) and never re-arms. In the preview: drop Inbox, grab it again about 250ms later, and release it where it was grabbed. Two seconds later the row still has style="z-index: 1; background-color: rgb(255, 255, 255);", and that white would stay after a switch to dark mode.
4. Mouse drops now animate for every List, TransferList and ListInput with default props. The design record allows settling motion, but FR3 is the contract, so the new FR3 bullet needs the AST-103 owner's approval.
Exact steps
- Keep the dropped row on the settle spring from where its copy was let go, starting at the release velocity, and keep the
VelocityTrackeron both the mouse and the touch paths. Play the theme's move curve only for the rows the drop passed. That is exactly AST-105 FR4's split, and it removes the jump-back. - Rewrite the FR3 bullet to say that (the dropped row: a spring from the release; the passed rows: the move curve), and get it approved by the AST-103 owner (cixzhang). If you prefer the from-the-origin model, this PR has to amend AST-105 FR4 and AST-094 FR6 and FR45 with their owners (cixzhang, vjeux) instead.
- Fix the leftover styles. When the commit sets the ride-above styles, remember that drop's
RowRestorefor the element. Inbegin(), if the row still wears those styles, take the row's own values from that record instead of fromrow.style. MakerestWhenDone's early return re-arm for the next drag's end instead of dropping the restore. Add aListReorderPointercase: drop, grab again during the glide, release in place, and expect empty inlinez-indexandbackground-coloronce everything rests. - Small: the changeset's "a cancelled drag still puts everything back at once" holds for a mouse only (under a finger it goes home on the spring), so say "with a mouse". A comment in
restWhenDonestill says the drop plays springs, and thelistReorderGlide.tsheader runs past the roughly 12-line guideline.
What I checked
- Unit tests at this head over List, Item, reorderable, ListInput and TransferList: 18 files, 421 tests pass. Core typecheck passes, and Lab's source typecheck passes once core is built.
- The drop timing and the leftover styles measured in this PR's preview with a real mouse drag in Chromium.
|
I'll run a full review to re-check this with your note. |
7177c9d to
ddefb77
Compare
c8b91dd to
0273b8a
Compare
There was a problem hiding this comment.
This pull request needs an owner decision before it can be approved, and it has two blocking findings to fix.
The new FR3 bullet in the reorderable-collections spec (outside Reduce Motion, a drop glides the rows to their new places with every pointer, each from its place before the drag, on the theme's move curve) is a requirement the current spec does not state; an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so if they are an engineering owner.
Blocking:
- Desktop behavior change needs an owner decision: the drop's glide in
listReorderEngine.tsxhas no presentation check, so every mouse and trackpad drop in List, TransferList and ListInput now animates; either gate the drop glide to touch input or cite the owner decision for this desktop behavior. - A finger's drop no longer settles from where the row was let go on a spring at the release velocity, because
rebase()starts every moved row at its place before the drag on the move curve and both velocity trackers are gone, which the touch-presentations spec (FR6, FR45) and the animated-layout spec (FR4, which the new bullet cites) still require; keep the release spring for the dropped row, or amend those clauses in this pull request.
Non-blocking: a comment in restWhenDone() still says the drop plays springs, the new glide module's @position tag carries a Reduce Motion sentence, the changeset's cancel sentence holds for a mouse only, and the Scope checklist marks behavior changes as split out although the finger drop and reorder mode's motion change. The re-grab residue from the last round is fixed, and the new browser test covers it.
Claims and files checked
- A mouse or fine-pen drop glides the rows: verified (no presentation check on the drop; three rows animate after a mouse drop in a real browser).
- Each moved row glides from its place before the drag, the dropped row included: verified (the dropped row starts two rows up at release).
- The copy goes at the drop: verified (the preview is removed before the commit).
- The glide plays the theme's move curve, 410 ms in the default theme: verified (core's default medium duration is 410 ms; the Storybook theme's is 300 ms).
- The dropped row rides above the rows it passes on an opaque background and is itself again once they rest: verified, a re-grab released in place or dropped elsewhere included.
- TransferList and ListInput follow: verified for TransferList in a real browser; ListInput uses the same engine.
- Under Reduce Motion a finger's drop dips each moved row: consistent with the changed touch test (not rerun).
- Reorder mode's finger moves play the same curve: verified (the key-move slide reads the move curve, only under a finger).
- Under Reduce Motion a mouse drop lands at once: verified (no animation two frames after the drop).
- A mouse cancel stays immediate: verified.
- Under a finger, a row the drag leaves in place goes home on the settle spring: verified.
- No API change: verified (the API surface generator lists no added, changed or removed rows).
- The release-velocity tracking goes because nothing reads it: verified (both trackers and the gesture event's velocity field are removed).
- The quoted spec clauses in the description: accurate; the drop still contradicts the release clauses they quote.
- Scope checklist, behavior and interaction-model changes removed or split: false (the finger drop's motion and reorder mode's motion change).
- Test counts in the description: not rerun as stated; a wider unit run passes at this head.
- The changeset's drop, before-state, reorder-mode, TransferList, ListInput and Reduce Motion claims: verified; its cancel claim holds for a mouse only.
.changeset/reorder-drop-glide.md: cancel wording, non-blocking.docs/specs/AST-103-reorderable/spec.md: the new FR3 bullet waits on an owner decision and cites the animated-layout spec for the opposite of its release clause.packages/core/src/List/List.doc.mjs: clear.packages/core/src/List/List.tsx: clear (JSDoc only).packages/core/src/List/ListReorderTouch.ts: clear.packages/core/src/List/__tests__/ListReorder.test.tsx: clear.packages/core/src/List/__tests__/ListReorderMode.interaction.browser.spec.ts: clear.packages/core/src/List/__tests__/ListReorderPointer.interaction.browser.spec.ts: clear; covers the re-grab.packages/core/src/List/__tests__/ListReorderTouch.interaction.browser.spec.ts: clear.packages/core/src/List/listReorderEngine.tsx: two blocking findings and one comment suggestion.packages/core/src/List/listReorderGlide.ts: header suggestion only.packages/core/src/reorderable/createReorderable.doc.mjs: clear.packages/core/src/utils/rowMotion.ts: clear.packages/lab/src/ListInput/ListInput.doc.mjs: clear.
ddefb77 to
f69a0d2
Compare
0273b8a to
3e58aaf
Compare
|
Thanks, Joseph. Round 2 is up at 3e58aaf, rebased onto main. 1–2. I'm keeping the from-the-origin drop; it's the motion I want. So this pull request now amends the records instead of citing them: AST-105 FR4, and AST-094 FR6 and FR45, each say a reorder drop starts no velocity settle, and its rows glide from their places before the drag on the curve tokens (AST-103 FR3). The description asks cixzhang (AST-103, AST-105) and vjeux (AST-094) to approve. Small ones: the changeset says the instant cancel is a mouse's, the |
There was a problem hiding this comment.
This pull request needs an owner decision before it can be approved, and it has three blocking findings to fix.
The new FR3 bullet in the reorderable-collections spec and the exceptions this pull request writes into the touch-presentations spec (FR6, FR45) and the animated-layout spec (FR4), which make every pointer's drop glide each moved row from its place before the drag on the theme's move curve with no release velocity, are requirements the current specs do not state; an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so if they are an engineering owner.
Blocking:
- Desktop behavior change needs an owner decision: the drop's glide in
listReorderEngine.tsxhas no presentation check, so every mouse and trackpad drop in List, TransferList and ListInput now animates; either gate the drop glide to touch input or cite the owner decision for this desktop behavior. - Miss: the dropped row's ride-above (an inline
z-index: 1and background set inrebase()and undone through the newunrestedmap) duplicatesmarkTravellinginprivateAttributes/travelling.stylex.ts, whose raise of 2 clears a swipeable row's raise under a finger where this one ties with it, so mark the row withmarkTravelling, end the mark when the rows rest, and delete the inline styles and their bookkeeping. - The description lists only the reorderable-collections spec under its records and still asks the owners whether a drop counts as a glide no gesture releases, while this head already writes exceptions into the touch-presentations spec's FR6 and FR45 and the animated-layout spec's FR4, so list those amendments and ask the owners to approve their text.
Non-blocking: the header of motion/uikit/reorder.ts still says the rows' glides play the settle role, the new glide module's @position tag carries a Reduce Motion sentence, and the Scope checklist marks behavior changes as split out. The changeset's cancel wording and the comment in restWhenDone() are fixed, and the finger drop's release spring now waits on the owner decision above rather than counting as a defect.
Claims and files checked
- A mouse or fine-pen drop glides the rows: verified (the drop's curve has no presentation check; three rows animate after a mouse drop in a real browser).
- Each moved row glides from its place before the drag, the dropped row included: verified (the dropped row starts two rows up at release).
- The glide plays the theme's move curve, 410 ms in the default theme: verified (core's default medium duration is 410 ms; the Storybook theme's is 300 ms).
- The dropped row rides above the rows it passes on an opaque background: verified with a mouse; by the code it ties with a swipeable row's raise under a finger.
- TransferList and ListInput follow: verified for TransferList in a real browser; ListInput uses the same engine.
- Reorder mode's finger moves play the same curve: verified (the key-move slide reads the move curve, only under a finger).
- Under Reduce Motion a mouse drop lands at once and a finger's drop dips each moved row: consistent with the changed browser tests (not rerun).
- A mouse cancel stays immediate, and under a finger a row the drag leaves in place goes home on the settle spring: verified.
- No API change: verified (the API surface generator lists no added, changed or removed rows).
- The release-velocity tracking goes because nothing reads it: verified.
- The records the description lists: false (it names one spec record; the pull request changes three).
- Scope checklist, behavior and interaction-model changes removed or split: false (the drop's motion changes).
- Test counts in the description: not rerun as stated; a unit run over List, reorderable, utilities, ListInput and TransferList passes at this head.
- The changeset's drop, before-state, reorder-mode, TransferList, ListInput, Reduce Motion and mouse-cancel claims: verified.
.changeset/reorder-drop-glide.md: clear.docs/specs/AST-094-touch-presentations/spec.md: the FR6 and FR45 exceptions wait on an owner decision.docs/specs/AST-103-reorderable/spec.md: the new FR3 bullet and verification failures wait on an owner decision.docs/specs/AST-105-animated-layout/spec.md: the FR4 exception waits on an owner decision.packages/core/src/List/List.doc.mjs: clear.packages/core/src/List/List.tsx: clear (JSDoc only).packages/core/src/List/ListReorderTouch.ts: clear.packages/core/src/List/__tests__/ListReorder.test.tsx: clear.packages/core/src/List/__tests__/ListReorderMode.interaction.browser.spec.ts: clear.packages/core/src/List/__tests__/ListReorderPointer.interaction.browser.spec.ts: clear; covers the re-grab.packages/core/src/List/__tests__/ListReorderTouch.interaction.browser.spec.ts: clear.packages/core/src/List/listReorderEngine.tsx: two blocking findings (desktop decision; duplicated ride-above).packages/core/src/List/listReorderGlide.ts: header suggestion only.packages/core/src/reorderable/createReorderable.doc.mjs: clear.packages/core/src/utils/rowMotion.ts: clear.packages/lab/src/ListInput/ListInput.doc.mjs: clear.
…de goes Per the owner's direction for this stack: a finger's drop keeps today's release spring from where its copy was let go, and a mouse drop now plays the same spring (it already tracks the release's velocity), so the drop glides under every pointer. The timed curve glide, rowMotion's duplicate curve helper and the AST-094, AST-105 and AST-103 rewrites go back to the base. A unit case checks the mouse drop's spring. Co-authored-by: ernestt <[email protected]>
|
/approve-spec a7bde72 |
There was a problem hiding this comment.
Changes requested. Letting a mouse drop settle on the same spring as a finger's drop follows the touch-presentations spec, and an engineering owner has approved it for this head, but two things need fixing first.
Blocking:
- In ListInput, a mouse drop that changes the first record now starts records 22 px off their places (only the first record shows the column labels, and
rebase()inlistReorderEngine.tsxshifts whole rows), so take each moved record's start from a part whose place does not depend on its index, or move the labels out of the records, and add a case that moves the first record. - The changeset (and the description's evidence notes) say a finger's drop is unchanged, but the removed gate is the primary pointer, not the input, so a finger's drop on a touchscreen laptop now glides too, and a mouse drop on a coarse-pointer tablet already glided; reword it to say every drop glides where the primary pointer is fine and nothing changes where it is coarse.
Non-blocking: a few comments still say a mouse drop lands at once (the host's presentation comment in listReorderEngine.tsx and the ListReorderTouch.ts header). The earlier change request stays open until its reviewer re-reviews or dismisses it.
Claims and files checked
Review mode: same-head; reason: none
- Title: a mouse drop plays the same settle spring as a finger's drop: verified (both read the shared settle role through the same helper).
- A mouse drop now glides on the settle spring a finger's drop uses: verified (the new unit case fails on the base code and passes here; in Chromium the passed rows start 37 px out and glide for about 600 ms, where the base is final at the first frame).
- The dropped row starts where its copy was let go, at the release speed: verified in code and in Chromium.
- The rows it passed glide from their old places: verified in List; false in ListInput when the first record changes (blocking finding).
- Before, a mouse drop landed at once while a finger's drop glided: true only where the primary pointer is fine for the mouse and coarse for the finger (blocking finding).
- Unchanged: a finger's drop: false on a touchscreen whose primary pointer is fine (blocking finding); a cancelled drag and reorder mode's moves: verified (both keep the presentation gate); Reduce Motion, where a mouse drop still lands at once: verified.
- A finger's drop keeps today's release spring: verified where the primary pointer is coarse (the touch module is unchanged from the base).
- The mouse path already tracked the release velocity, and the only engine change is the drop's spring condition: verified.
- The touch-presentations spec's FR45 with FR43 gives a gesture's settle its spring under every pointer: verified against the current record.
- The earlier curve glide, its helper, the touch and velocity removals and the three record rewrites are back to the base, with no record changes: verified.
- The doc sentences in List, its docs, the createReorderable docs and the ListInput docs now say a mouse drop glides: verified.
- One fix changeset: verified.
- The new unit case fails on the previous condition and passes here: verified.
- The suite count of 343: not reproduced as stated (311 tests in 16 files over List, reorderable, ListInput and TransferList pass); clean typecheck and lint: verified.
- Real-Chrome evidence: main lands a mouse drop at once and both land at once under Reduce Motion: verified; the other rows behave as on main while dragging: verified (only the drop's commit changed); no overshoot: holds for the release measured, while a faster release carries more speed into the spring; a finger's drop unchanged from main: false on a touchscreen whose primary pointer is fine (blocking finding).
- The earlier-round sections describe code this head removed: not rechecked.
.changeset/reorder-drop-glide.md: blocking claim finding.packages/core/src/List/List.doc.mjs: clear.packages/core/src/List/List.tsx: clear (doc comment only).packages/core/src/List/__tests__/ListReorder.test.tsx: clear.packages/core/src/List/listReorderEngine.tsx: ListInput first-record offset (blocking); stale comments outside the hunks (non-blocking).packages/core/src/reorderable/createReorderable.doc.mjs: clear.packages/lab/src/ListInput/ListInput.doc.mjs: its glide sentence is wrong for a first-record drop (the ListInput finding).
| * far the preview's edge is past the scroll edge. A drop's glide plays under | ||
| * every pointer. With a mouse (the theme's presentation), a cancelled drag | ||
| * and reorder mode's moves put the rows in place at once. Under Reduce | ||
| * Motion, the rows jump to their new places. |
There was a problem hiding this comment.
Non-blocking: this header is now right, but three comments outside the diff still say the opposite: the host's "with a mouse, rows take their places at once" (about line 2417), "What runs only on a touch screen is in ListReorderTouch.ts" (about line 62), and the ListReorderTouch.ts header ("touchMotion moves the rows under a finger"; "what the reorder runs only under a finger sits behind this one import"), which the SYNC line asks to update. Suggested for that header: "touchMotion moves the rows after a drop under every pointer, and under a finger for the hold, the way home and reorder mode."
…its content was ListInput's first record alone carries the column labels, so a mouse drop that changes the first record moved its records' fields 22 px at the start of the glide. Each row's glide now adds the change in its handle's place inside the row, read at the pick-up and after the commit, so its content starts where it was shown. A Chromium case moves the first record (red before: 21.4 px; green after). The changeset says what changes: every drop glides where the primary pointer is fine; nothing changes where it is coarse. Two comments now say a mouse drop glides. Co-authored-by: ernestt <[email protected]>
|
/approve-spec 3329e0b |
There was a problem hiding this comment.
Changes requested. Letting a mouse drop settle on the same spring as a finger's drop follows the touch-presentations spec, an engineering owner has approved it for this head, and the ListInput first-record offset from the last round is fixed; one release-note claim is now wrong.
- The changeset (
.changeset/reorder-drop-glide.md:5) and the description say nothing changes where the primary pointer is coarse, but the new handle-place term in each row's start (listReorderEngine.tsx:2069-2075) has no pointer gate, so a finger's ListInput drop that changes the first record in a container wider than 640 px now starts its fields where they were shown, 21.9 px higher than before; say so in both.
An earlier change request from an engineering owner was dismissed by another account, so it stays open until that reviewer re-reviews or dismisses it. A misplaced doc comment is noted inline.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the change reaches List, ListInput and TransferList where the primary pointer is fine. Verified: the gate removed is the primary-pointer presentation (
listReorderEngine.tsx:810-812,:2090-2094). - Claim: before, a fine-pointer drop landed at once while a coarse-pointer drop glided on the settle spring. Verified in Chromium on the base and in the presentation gate.
- Claim: every fine-pointer drop now glides on that spring, the dropped row from where its copy was let go at the release speed, the passed rows from their old places. Verified by the new unit case and in Chromium.
- Claim: a ListInput record that gains or loses the column labels starts where its fields were. Verified in Chromium with a mouse and with touch.
- Claim: nothing changes where the primary pointer is coarse. False: ListInput's first-record touch drop in a container wider than 640 px changes.
- Claim: with a fine pointer, a cancelled drag, reorder mode's moves and Reduce Motion still land at once. Verified from the code; Reduce Motion measured in Chromium.
- Claim: a finger's drop keeps today's release spring. Verified from the code.
- Claim: the mouse path already tracks the release velocity. Verified: the unit case receives a numeric velocity.
- Claim: the cited touch-presentations clauses give a gesture's release its spring under every pointer. Verified against the current spec text.
- Claim: the earlier curve glide, its helper and the spec rewrites are reverted, with no spec changes. Verified.
- Claim: the docs now say a mouse drop glides. Verified in the three docs files and the prop's JSDoc.
- Claim: the new unit case fails before the change and passes after. Verified.
- Claim: the new Chromium case keeps moved records within 2 px of where they were shown. Consistent with a Chromium measurement of the same story (0 px); the case itself was not run.
- Claim: the List, ListInput, TransferList and reorderable suites pass, with clean typecheck and lint. Verified: 311 tests in those folders, the core build's typecheck, and lint on the changed source and test files.
- Claim: in a real browser the base lands at once, the head glides, and Reduce Motion lands at once on both. Verified; the phone result was recorded at the previous head and was not rechecked.
- Claim: earlier change requests were dismissed as stale. The dismissal came from another account, so that change request stays open.
- Claim: pages without
reorderableload no more code. Verified: onlycreateReorderableimports the engine. - File
.changeset/reorder-drop-glide.md: the blocking finding above. - File
packages/core/src/List/listReorderEngine.tsx: non-blocking,handleIn's doc now sits abovehandleInset, and the header line about what runs only on a touch screen is stale. - File
packages/core/src/List/ListReorderTouch.ts: clear. - File
packages/core/src/List/List.tsx: clear. - File
packages/core/src/List/List.doc.mjs: clear. - File
packages/core/src/reorderable/createReorderable.doc.mjs: clear. - File
packages/lab/src/ListInput/ListInput.doc.mjs: clear. - File
packages/core/src/List/__tests__/ListReorder.test.tsx: clear. - File
packages/lab/src/ListInput/__tests__/ListInputReorder.a11y.chromium.spec.ts: clear (read, not run).
| } | ||
|
|
||
| /** This list's handle in `row`, if it has one: a nested list's are its own. */ | ||
| /** |
There was a problem hiding this comment.
Non-blocking: this doc block went in below handleIn's one-line doc on the line above, so handleIn now has no doc and handleInset has two (editors show only this one). Move handleInset with its doc above that line.
…o feat/reorder-drop-glide
…s the labels starts where its fields were
|
/approve-spec c7e458d |
There was a problem hiding this comment.
No blocking defects at this head, but approval waits on one step outside the code.
- The engineering owner's change request from 2026-11-13 was dismissed from another account, which this project does not count as resolving it, so it stays open until that reviewer re-reviews this head or dismisses it.
A mouse drop now settles on the same spring as a finger's drop, which the touch-presentations spec asks of every pointer, an engineering owner has approved it for this head, and the release note's coarse-pointer sentence from the last round is fixed. Two non-blocking comment fixes remain, one inline and one in the earlier open thread: handleIn's doc sits above handleInset, and two comments still call the drop's motion touch-only.
Claims and files checked
Review mode: full; reason: author-not-engowner
- Claim: the change reaches List, ListInput and TransferList where the primary pointer is fine, a touchscreen laptop included. Verified: the removed gate is the primary-pointer presentation (
listReorderEngine.tsx:810-812,:2090-2094), and ListInput and TransferList use the same engine. - Claim: before, a fine-pointer drop landed at once while a coarse-pointer drop glided on the settle spring. Verified in Chromium on the base and in the code.
- Claim: every fine-pointer drop now glides on that spring, the dropped row from where its copy was let go at the release speed, the passed rows from their old places. Verified by the new unit case and a per-frame Chromium trace.
- Claim: a ListInput record that gains or loses the column labels starts where its fields were. Verified in Chromium with a mouse (within 0.1 px of where shown at the first frame).
- Claim: where the primary pointer is coarse, only that ListInput start changes. Verified from the code.
- Claim: with a fine pointer, a cancelled drag, reorder mode's moves and Reduce Motion still land at once. Verified from the code; Reduce Motion measured in Chromium.
- Claim: a finger's drop keeps today's release spring. Verified from the code.
- Claim: the mouse path already tracks the release velocity. Verified: the unit case receives a numeric velocity.
- Claim: the touch-presentations spec already gives a gesture's settle its spring under every pointer. Verified against the current spec text.
- Claim: the earlier curve glide, its helper and the spec rewrites are reverted, with no spec changes. Verified: no spec file or motion helper is in the diff.
- Claim: the docs and the prop's JSDoc now say a mouse drop glides. Verified in the three docs files and the JSDoc.
- Claim: the new unit case fails before the change and passes after. Verified.
- Claim: the new Chromium case keeps moved records within 2 px of where they were shown. Consistent with a Chromium trace of the same story at this head; the case itself was not run.
- Claim: the List, ListInput, TransferList and reorderable suites pass, with clean typecheck and lint. Verified: 314 tests in those folders, the core build's typecheck, and lint on the changed files; the other suites were not run.
- Claim: in a browser the base lands at once, the head springs with no overshoot, Reduce Motion lands at once on both, and the other rows behave as before during the drag. Verified in Chromium at this head; the phone result is the description's own statement.
- Claim: earlier change requests were dismissed as stale. True, but the dismissal came from another account, so that change request stays open.
- Claim: this pull request sits on the reorder handle options pull request. Verified: its base is that pull request's head.
- Claim: pages without
reorderableload no more code. Verified: onlycreateReorderableimports the engine. - Changeset: each of its five sentences matches the verified claims above.
- File
.changeset/reorder-drop-glide.md: clear. - File
packages/core/src/List/listReorderEngine.tsx: non-blocking,handleIn's doc placement and the header's touch-only line. - File
packages/core/src/List/ListReorderTouch.ts: non-blocking, thetouchMotiondoc still says under a finger. - File
packages/core/src/List/List.tsx: clear. - File
packages/core/src/List/List.doc.mjs: clear. - File
packages/core/src/reorderable/createReorderable.doc.mjs: clear. - File
packages/lab/src/ListInput/ListInput.doc.mjs: clear. - File
packages/core/src/List/__tests__/ListReorder.test.tsx: clear. - File
packages/lab/src/ListInput/__tests__/ListInputReorder.a11y.chromium.spec.ts: clear (read, not run).
| * is UIKit's row motion on the shared settle role: the drop's glide at the | ||
| * release's velocity under every pointer, and, under a finger's | ||
| * presentation, the way home and the continuation across the commit |
There was a problem hiding this comment.
Non-blocking: this header now says touchMotion plays the drop under every pointer, but its own doc at line 150 still reads "UIKit's motion for the rows of a reorder under a finger." Suggested: "touchMotion moves the rows after a drop under every pointer, and under a finger for the way home and reorder mode."
|
/approve-spec 01c85fd |
There was a problem hiding this comment.
No blocking defects at this head, but approval still waits on one step outside the code.
- The engineering owner's change request from 2026-11-13 stays open: it was dismissed from another account with a stale-head note that maps none of its points to evidence at this head, so it resolves only when that reviewer re-reviews this head or dismisses it.
A mouse drop now settles on the same spring as a finger's drop, which the touch-presentations spec asks of every pointer, and an engineering owner has approved that ruling for this head. Two non-blocking comment fixes remain in their open threads: handleIn's doc now sits above handleInset, and two comments still call the drop's motion touch-only.
Claims and files checked
Review mode: same-head; reason: none
- Changed rules (1): An owner's change request stays unresolved (the maintainer-account dismissal exception now covers any author when the dismissal maps each point to evidence). Result: checked the live reviews, the dismissal message and the conversation; the dismissal maps no point to evidence, so the change request stays open.
- Claim: the change reaches List, ListInput and TransferList where the primary pointer is fine, a touchscreen laptop included. Verified: the removed gate is the primary-pointer presentation (
listReorderEngine.tsx:2090-2094), and ListInput and TransferList use the same engine. - Claim: before, a fine-pointer drop landed at once while a coarse-pointer drop glided on the settle spring. Verified in Chromium on the base (rows final at the first frame) and in the code.
- Claim: every fine-pointer drop now glides on that spring, the dropped row from where its copy was let go at the release speed, the passed rows from their old places. Verified by the new unit case and a per-frame Chromium trace.
- Claim: a ListInput record that gains or loses the column labels starts where its fields were. Verified in Chromium with a mouse (the moved fields start at their shown place).
- Claim: where the primary pointer is coarse, only that ListInput start changes. Verified from the code; not measured under touch.
- Claim: with a fine pointer, a cancelled drag, reorder mode's moves and Reduce Motion still land at once. Verified from the code (
:1888,:2278); Reduce Motion measured in Chromium. - Claim: a finger's drop keeps today's release spring. Verified from the code: the touch presentation already played the spring.
- Claim: the mouse path already tracks the release velocity. Verified (
:1256-1298), and the unit case receives a numeric velocity. - Claim: the touch-presentations spec already gives a gesture's settle its spring under every pointer. Verified against the current spec text.
- Claim: the earlier curve glide, its helper and the spec rewrites are reverted, with no spec changes. Verified: no spec file or motion helper is in the diff.
- Claim: the docs and the prop's JSDoc now say a mouse drop glides. Verified in the three docs files and the JSDoc.
- Claim: the new unit case fails before the change and passes after. Verified.
- Claim: the new Chromium case keeps moved records within 2 px of where they were shown. Consistent with a Chromium trace of the same story at this head; the case itself was not run.
- Claim: the List, ListInput, TransferList and reorderable suites pass, with clean typecheck and lint. Partly verified: 314 tests in those folders pass, the packages build at this head, and lint is clean on the changed files; a separate typecheck and the other suites were not run.
- Claim: in a browser the base lands at once, the head springs with no overshoot and settles in about half a second, Reduce Motion lands at once on both, and the other rows behave as before during the drag. Verified in Chromium at this head; the phone result is the description's own statement.
- Claim: earlier change requests were dismissed as stale. True, but the dismissal maps no point to evidence, so that change request stays open.
- Claim: this pull request sits on the reorder handle options pull request. Verified: its base is that pull request's branch.
- Claim: pages without
reorderableload no more code. Verified: onlycreateReorderableimports the engine, and List imports only its type. - Changeset: each of its sentences matches the verified claims above.
- File
.changeset/reorder-drop-glide.md: clear. - File
packages/core/src/List/listReorderEngine.tsx: non-blocking,handleIn's doc placement and the header's touch-only line. - File
packages/core/src/List/ListReorderTouch.ts: non-blocking, thetouchMotiondoc still says under a finger. - File
packages/core/src/List/List.tsx: clear. - File
packages/core/src/List/List.doc.mjs: clear. - File
packages/core/src/reorderable/createReorderable.doc.mjs: clear. - File
packages/lab/src/ListInput/ListInput.doc.mjs: clear. - File
packages/core/src/List/__tests__/ListReorder.test.tsx: clear. - File
packages/lab/src/ListInput/__tests__/ListInputReorder.a11y.chromium.spec.ts: clear (read, not run).
|
🤖 (Posted by Cindy's agent.) How each point of the 2026-11-13 change request is addressed at this head (
The automated review at this head verified the drop's motion against the code and a per-frame browser trace, and found no blocking defect. |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet.
A mouse or trackpad drop now settles on the same spring as a finger's drop, which the touch-presentations spec asks of every pointer, and an engineering owner has approved that ruling for this head. The engineering owner's change request from 2026-11-13 is resolved: each of its four points is mapped to code at this head, and each holds there.
Two non-blocking comment fixes remain in their open threads: handleIn's doc now sits above handleInset, and two comments still call the drop's motion touch-only.
Claims and files checked
Review mode: same-head; reason: none
- Changed rules (2): Maintainer-account dismissal (the point mapping may come in a later comment from the account); its worked examples. Result: checked the dismissal message, the account's later comment and each mapped point at this head; every point holds and no other finding is open, so the change request is resolved.
- Claim: the change reaches List, ListInput and TransferList where the primary pointer is fine, a touchscreen laptop included. Verified: the removed gate is the primary-pointer presentation (
listReorderEngine.tsx:810-812,:2090-2094), and ListInput and TransferList use the same engine. - Claim: before, a fine-pointer drop landed at once while a coarse-pointer drop glided on the settle spring. Verified in the code and in Chromium on the base (rows final at the first frame).
- Claim: every fine-pointer drop now glides on that spring, the dropped row from where its copy was let go at the release speed, the passed rows from their old places. Verified by the new unit case and a per-frame Chromium trace.
- Claim: a ListInput record that gains or loses the column labels glides from where its fields were. Verified in Chromium with a mouse.
- Claim: where the primary pointer is coarse, only that ListInput start changes. Verified from the code; not measured under touch.
- Claim: with a fine pointer, a cancelled drag, reorder mode's moves and Reduce Motion still land at once. Verified from the code (
:1888,:2278, the animator's Reduce Motion plan); Reduce Motion measured in Chromium. - Claim: a finger's drop keeps today's release spring. Verified from the code: the touch presentation already played the spring.
- Claim: the mouse path already tracks the release velocity. Verified (
:1256-1298), and the unit case receives a numeric velocity. - Claim: the touch-presentations spec already gives a gesture's settle its spring under every pointer. Verified against the current spec text.
- Claim: the earlier curve glide, its helper and the spec rewrites are reverted, with no spec changes. Verified: no spec file or motion helper is in the diff.
- Claim: the docs and the prop's JSDoc now say a mouse drop glides. Verified in the three docs files and the JSDoc.
- Claim: the new unit case fails before the change and passes after. Verified.
- Claim: the new Chromium case keeps moved records within 2 px of where they were shown. Consistent with a Chromium trace of the same story at this head; the case itself was not run.
- Claim: the List, ListInput, TransferList and reorderable suites pass, with clean typecheck and lint. Partly verified: 314 tests in those folders pass and lint is clean on the changed files; a separate typecheck and the other suites were not run.
- Claim: in a browser the base lands at once, the head springs with no overshoot and settles in about half a second, Reduce Motion lands at once on both, and the other rows behave as before during the drag. Verified in Chromium at this head; the phone result is the description's own statement.
- Claim: earlier change requests on outdated heads were dismissed as stale on the owner's decision. Verified: dismissed from the maintainer account, and each point of that change request is now mapped to code that holds at this head.
- Claim: this pull request sits on the reorder handle options pull request. Verified: its base is that pull request's branch.
- Claim: pages without
reorderableload no more code. Verified: onlycreateReorderableimports the engine, and theList.tsxchange is a JSDoc comment. - Changeset: each of its sentences matches the verified claims above.
- File
.changeset/reorder-drop-glide.md: clear. - File
packages/core/src/List/listReorderEngine.tsx: non-blocking,handleIn's doc placement and the header's touch-only line. - File
packages/core/src/List/ListReorderTouch.ts: non-blocking, thetouchMotiondoc still says under a finger. - File
packages/core/src/List/List.tsx: clear. - File
packages/core/src/List/List.doc.mjs: clear. - File
packages/core/src/reorderable/createReorderable.doc.mjs: clear. - File
packages/lab/src/ListInput/ListInput.doc.mjs: clear. - File
packages/core/src/List/__tests__/ListReorder.test.tsx: clear. - File
packages/lab/src/ListInput/__tests__/ListInputReorder.a11y.chromium.spec.ts: clear (read, not run).
…le and sets how it reveals (#11575) * feat(Icon, List): a drag icon; the reorder handle is its grip alone, with a 24px target * fix(List): a fixed 1rem handle box, the grip through ComponentIcon, no slot state The reorder handle's box no longer follows the icon slot's size: a slot size never changes a control's dimensions or target. The grip renders through the shared ComponentIcon renderer, which gains an xstyle prop, and the list-reorder-handle slot takes no state. The grip-length hook and its private variable go, so ListInput and TransferList import nothing new. The icon-resolution record gains INV10's 0.8.0 IconRegistry step and CLN-0030. List records its list-row element exception (DEC-7). The CLI's built-in drag definition gets its own experimental Changeset. * docs(List): DEC-7 names its decision date; the Changeset gives the Remove shift for each pointer * feat(List): createReorderable's handle option places the reorder handle and sets how it reveals createReorderable takes handle: {placement, revealBehavior}. placement is 'end' (the default, today's layout) or 'start'. revealBehavior is 'always' or 'adaptive'; without it List and TransferList show their handles and ListInput reveals them. An adaptive handle hangs outside its row's content where the primary pointer is fine, and the list takes that room from its container's padding. At the start, a row that stays put keeps its neighbours' room, after a list marker too. Item's edge seam (ItemTrailingContext, version 2) carries the control and its edge. The handle's layout ships with the reorder session, so a List without reorderable loads none of it; a bundle test checks it. * chore: trim the drag icon change to the icon, its slot and the handle Per the owner's direction for this stack: keep the drag icon in Core's map, the list-reorder-handle slot and the CSS grip's removal. Drop the bundled themes' and CLI theme templates' GripVertical mappings, the 0.8.0 step for IconRegistry (DEP-0018, CLN-0030), List DEC-7's rejected-alternative line, and the separate CLI changeset (folded into one). The native and CLI icon-name entries stay: their parity tests require every Core icon name. Co-authored-by: ernestt <[email protected]> * chore(changeset): one changeset for the drag icon, without the dropped theme maps Co-authored-by: ernestt <[email protected]> * docs(icon): drag is a built-in like any other in the icon-resolution record Co-authored-by: ernestt <[email protected]> * refactor(List, ListInput, TransferList): one set of reorder handle sizes Core List's handle and Lab's ListInput and TransferList each restated the grip's box and the target's reach. They now read one StyleX constants module, internal/reorderHandle.stylex, which Core exports to Lab. StyleX cannot read utils/hitArea.ts MIN_TOUCH_TARGET at build time, so a test holds the finger's reach to it. The generated CSS values are unchanged. Co-authored-by: ernestt <[email protected]> * docs(List): the record defines the shared reorder handle sizes module Co-authored-by: ernestt <[email protected]> * docs(icon): restore drag's 0.8.0 IconRegistry schedule; separate CLI changeset AST-032 FR6 and DEC-3 say a complete IconRegistry requires every shared name, so drag's optional window needs its deprecation record: DEP-0018 in AST-032 (as the owner approved on 2026-11-13) and CLN-0030 in the icon resolution record. AST-017 FR22 puts the CLI's experimental icon-set change in its own [experimental] changeset; the [feat] changeset is Core's alone. Co-authored-by: ernestt <[email protected]> * fix(themes): every bundled theme and CLI template draws drag in its own style AST-017 FR29c makes Astryx's own packages migrate in the deprecation patch, so the seven bundled themes and seven CLI theme templates map drag to Lucide's GripVertical again, as Ernest had them. IconRegistry's doc comment says drag becomes required in 0.8.0 (DEP-0018), and DEP-0018 names the owner decision and FR29c. Co-authored-by: ernestt <[email protected]> * build(core): list internal/reorderHandle.stylex in the synced exports * fix(List): a reorder handle's finger target stays inside its list On the first and last rows the handle's 44 px coarse-pointer target reached about 2 px past the list's top or bottom edge, so a control right against the list lost its outer taps. The handle's touch growth now stops at the list's box on the block axis, as the rows' own targets do. * refactor(List): the reorder handle clamps the shared hit area's centred growth hitArea.ts exports its default growth toward 44 px as centeredGrowth, and the handle clamps that result to its list instead of computing its own, so a later change to how the shared hit area grows targets reaches the handle. * fix(List): a mouse drop plays the same settle spring as a finger's drop (#11600) * feat(List): a drop glides the rows into place with every pointer * fix(List): a mouse drop plays the finger's drop spring; the curve glide goes Per the owner's direction for this stack: a finger's drop keeps today's release spring from where its copy was let go, and a mouse drop now plays the same spring (it already tracks the release's velocity), so the drop glides under every pointer. The timed curve glide, rowMotion's duplicate curve helper and the AST-094, AST-105 and AST-103 rewrites go back to the base. A unit case checks the mouse drop's spring. Co-authored-by: ernestt <[email protected]> * fix(List): a moved row that changes its own layout glides from where its content was ListInput's first record alone carries the column labels, so a mouse drop that changes the first record moved its records' fields 22 px at the start of the glide. Each row's glide now adds the change in its handle's place inside the row, read at the pick-up and after the commit, so its content starts where it was shown. A Chromium case moves the first record (red before: 21.4 px; green after). The changeset says what changes: every drop glides where the primary pointer is fine; nothing changes where it is coarse. Two comments now say a mouse drop glides. Co-authored-by: ernestt <[email protected]> * docs(changeset): a coarse-pointer ListInput record that gains or loses the labels starts where its fields were --------- Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: ernestt <[email protected]> * test(List): a row grabbed again during its drop glide keeps no inline stacking; comment fixes The re-grab case from the drop-glide review rides this branch now that the glide is merged into it. handleIn's doc sits above handleIn again, and the adapter's comment gives the reason, not the expression. Co-authored-by: ernestt <[email protected]> --------- Co-authored-by: Cindy Zhang <[email protected]> Co-authored-by: ernestt <[email protected]>
User impact
Trimmed to the owner's direction (13:11 PT)
This head replaces the timed curve glide that earlier rounds built:
listReorderEngine.tsx(rebase): it no longer requires the finger's presentation.spec:AST-094FR45 with FR43 already says a gesture's settle plays its spring under every pointer.rowMotion.ts's duplicate curve helper (the same timing asmotion/animatedLayout.ts), theListReorderTouch.tsand velocity-tracker removals, and the record rewrites ofspec:AST-094,spec:AST-105andspec:AST-103. No record changes.What changed
listReorderEngine.tsx: a drop's spring plays under every pointer. Header comment updated.List.tsx,List.doc.mjs,createReorderable.doc.mjsandListInput.doc.mjs: the sentence that said a mouse drop moves the rows without motion now says they glide.[fix].Evidence
ListInput's first record: only the first record carries the column labels, so a mouse drop that changes the first record started its records' fields 22 px off. Each row's glide now adds the change in its handle's place inside the row, read at the pick-up and after the commit. A new Chromium case in
ListInputReorder.a11y.chromium.spec.tsmoves the first record and checks that each moved record's fields start the glide within 2 px of where they were shown. It measured 21.4 px off at the previous head and passes here (3 of 3 repeats).New unit case in
ListReorder.test.tsx: with a fine pointer, a mouse drop calls the dropped row's spring glide once, with the release's velocity, and the passed rows' follow twice. It fails on the previous condition and passes here.List, ListInput, TransferList, reorderable and internal suites pass 343; tsc and strict lint are clean.
Real-Chrome evidence (a7bde72 vs main, desktop mouse)
Hosted previews, Chromium, mouse drag and drop. Full frame strips and labels: https://github.com/vjeux/astryx/tree/15180e897436ec5937135173516ba4822338ee71 (
pr11600-labels.md).ListInput: a mouse drop that moves the first record (3329e0b vs a7bde72)
Only the first record shows the column labels. Strips and labels: https://github.com/vjeux/astryx/tree/6f531c1e38566a00833a51498e1fb6ecd2e28894 (
pr11600-listinput-labels.md).Earlier change requests on outdated heads were dismissed as stale by the repository owner's decision on 2026-11-18.
Scope
Components: List, ListInput, TransferList (shared reorder engine)
Stacked on #11575, which is stacked on #11445.
Testing
pnpm exec vitest run packages/core/src/List packages/lab/src/ListInput packages/lab/src/TransferListEarlier rounds
The rounds below reviewed the curve glide, which this head removes. They're kept for the record.
Pre-review (fresh session)
A fresh agent session ran
pnpm review:preand the pre-review checklist on this branch. Its findings, and what changed:design:ordered-collection-reorderingDR5). The engine now keeps each gliding row's own values until it rests, and a new drag restores those. A new browser test drops a row, picks it up again mid-glide, drops it, and checks that it is itself once it rests.DDrow for the drop. Fixed below.rowMotion.ts's and the engine's headers are current.Review round 2 (Joseph Farina)
spec:AST-103FR3). Owner approval needed: cixzhang (AST-103, AST-105) and vjeux (AST-094).restWhenDonecomment says glides; thelistReorderGlide.tsheader is shorter.Round 3
revealBehaviorround), so the stack is three pull requests. feat(core): swipe actions come from createSwipe on the shared drag path #8690 has merged, so this head carries its records.reorderGlide, lives inutils/rowMotion.tsbeside the row motion it plays.listReorderGlide.tsis gone. Only the reorder machinery importsrowMotion.ts, so a List withoutreorderableloads none of it.mainin every strip above, not feat(List): the reorder handle is its grip alone, with a 24px target #11583.Round 4
markTravellingwhile its rows glide, and the mark ends when they rest. The inline z-index and background, and the bookkeeping that undid them, are gone. A browser test checks the mark, its z-index of 2 and the surface while the row glides, and that nothing is left once it rests, also after the row is picked up again mid-glide.motion/uikit/reorder.tssays a commit's rows glide on the theme's move curve;utils/rowMotion.tskeeps its Reduce Motion sentence out of@position.pnpm size:pages --base <#11575's head> --page list=List --unused-on list: every reference page, and a List withoutreorderable, grows +0 B gzip.spec:AST-017FR59, a new fine-pointer feel), where the glide starts, and whether a second move during a glide keeps the row's speed. This round changes none of them.