Skip to content

fix(rune): keep status ink with a row during a live reorder - #1098

Merged
kitlangton merged 5 commits into
devfrom
live-pending-ink
Nov 17, 2026
Merged

kitlangton merged 5 commits into
devfrom
live-pending-ink

Conversation

@kitlangton

@kitlangton kitlangton commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

A status label can fade on the row it belongs to when a live delivery moves that row. This is for a virtual list already showing its end, not a history read or a viewport resizing under a tray.

❌ Before: The row glided to its new place, but an unprompted commit landed its colours and unmounted the label on the first frame. A neighbouring row could also change its top padding in one step while its height was still moving.

✅ After: On a live reorder, already-visible crossing rows retain colour and offset motion and honour a surviving parent's explicit child exit. A resizing neighbour carries its inset change on its existing height track. No new spring or clock.

- carry only the reordered row's geometry
+ carry its paint and requested child exit with it
+ carry an adjacent resizing row's inset on its height
Real desktop fixture at 60 Hz Before After
Maximum gap between joined prompts, adjacent deliveries 9.83 pt 4.02 pt (rest: 4 pt)
Heading above the reorder: first screen step 16.97 pt 0.70 pt
Bubble: largest screen step 4.56 pt 4.56 pt
Outgoing label offset from bubble Gone on first frame 46 pt until invisible
Joined corner when the neighbour leaves: largest radius step, consecutive deliveries 6.00 pt 0.35 pt

👀 Read: a crossing row carries its paint and geometry. A row that stays put beside it can round its joining corner on the existing radius spring, without animating its opacity or moving its contents. Rows the list didn't previously draw are excluded.

Reported in desktop use. Verified with an offline headless desktop build applying the consumer change, using lossless frame pixels and scene traces.

Checks
  • The complete prompt rows now name the face that joins its neighbour. Its seam follows the trailing face; a real intervening row opens that seam according to its current geometry. Previously visible complete faces do not pass through a row reveal layer just because the surrounding metadata room resizes. New and streaming content keep their usual edge.

  • Reconciled onto current dev after fix(lists): let a delivered row take space from the panel below it #1100, with the ink carry made an opt-in commit (grow_visible_tail keeps its per-update behaviour; grow_visible_tail_with_ink opts a live reorder into it).

  • Grouped changes at 858948ee: focused live-tail gate 5 passed, including distinct hit targets mid-handoff. Combined desktop build and standalone example check passed. English and Arabic pairs, simultaneous deliveries, three prompts, a persistent split and rejoin, reduced motion, history and an unpinned reader were replayed offline. Cross-row drag selection was not separately verified in the desktop replay.

  • Downstream desktop build and cargo check -p session-view --examples passed against this change.

  • scripts/file-size.sh passed, warnings only.

  • The gate also covers consecutive deliveries retargeting the same joined corner and the neighbour's independent opacity change still landing immediately.

  • Matched English and Arabic desktop captures: all four presented radii of both bubbles, plus the 12×12 pixel contour through settlement. Single-steer, history and reduced-motion controls were image-identical before/after the corner change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant