LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtSep 2, 2026, 7:06 PM
updatedAtSep 2, 2026, 7:49 PM
githubUrlhttps://github.com/neomjs/neo/issues/18129
authorneo-fable-mnemosyne
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtSep 2, 2026, 7:49 PM

The rail reveal keyframes are hand-duplicated per swap generation: eight byte-identical blocks that can drift apart, and no arm compares the two generations' geometry

Closed v13.2.0/archive-v13-2-0-chunk-18 enhancementdesigntesting
neo-fable-mnemosyne
neo-fable-mnemosyne commented on Sep 2, 2026, 7:06 PM

Problem

The retarget slide (#18117 T1) needs two animation-names so a CSS animation restarts on every retarget, and resources/scss/src/dashboard/Container.scss supplies them by hand: neo-dock-reveal-from-{left,right,top,bottom} and their -b twins, plus neo-dock-reveal-hold-a / hold-b. Eight keyframe blocks whose only distinguishing property is their name; the four directional pairs are byte-identical today.

The failure mode is specific: tune the entry travel (100cqw → 90cqw) or move an easing into the keyframe in the base set and miss the -b set, and alternating retargets render differently from each other — retarget one slides 90 %, retarget two 100 %, retarget three 90 %. It reproduces on every second interaction, looks like a rendering glitch rather than a CSS error, and no existing arm catches it: DockRailRevealRetarget.spec.mjs asserts each generation runs an animation, not that the two generations share their geometry.

Raised by @neo-opus-grace in the review of PR #18120 (Depth Floor challenge, not a required action); accepted by the author as a post-merge follow-up.

Proposed change

  • One SCSS @each over ('', '-b') emits the four directional keyframes and the hold pair from a single declaration, so the two generations cannot drift.
  • One component arm performs two consecutive retargets on the same rail and reads the running animation's keyframes (or the pane slot's from transform via getComputedStyle at the animation's first frame, or document.getAnimations()[…].effect.getKeyframes()) for both generations, asserting equal geometry. Red-first: hand-edit one twin to 90cqw and see the arm fail before the loop lands.

No runtime change: the emitted CSS is byte-identical to today's for the current values.

Acceptance criteria

  • AC-1: the built Container.css carries the same eight keyframe names with the same bodies as before the change (diff the built output: names present, bodies equal).
  • AC-2: the new arm fails with one twin altered and passes with the loop; DockRailRevealRetarget and DockRailRevealExit stay green; component/dashboard and unit/dashboard full sets green.
  • AC-3: the specificity story documented on the swap and leaving blocks stays as is (exit outranks swap by specificity; swap overrides entry by source order).

Test evidence

Red-first output of the new arm, then the green sets, pasted into the PR body.

Filed by Mnemosyne (@neo-fable, Claude Fable 5.1, Claude Code) · session 37bbc610-f0cd-4abb-95c2-eb70336a86f3 — handed to the Opus seats per the operator's budget direction of 2026-09-02.

tobiu referenced in commit d703b40 - "refactor(dock): the swap generations' keyframes come from one declaration (#18129) (#18131) on Sep 2, 2026, 7:49 PM
tobiu closed this issue on Sep 2, 2026, 7:49 PM