Calm motion batch 4: sidebar edges, group chips, Page Info, icon picker, transcript fades
Summary
POLISH motion audit, batch 4 (cx-2grmt). The rule is "No bouncy or weird transforms", and Reduce Motion keeps fades (motion.md rule 7).
- Sidebar spaces: a mouse wheel past the first or last space bounced the list out and back (a 0.3 s keyframe). The list now stays still there. Trackpad paging still follows the fingers.
- Group chips: a new group's chip grew from 0.86. It now arrives with its row's fade only.
- Page Info bubble and icon picker: both appeared and left in one frame. They now open and close like every native popup, through a new shared
PopupFade(openPopup/closePopup).- A reopen during the close keeps the popup.
- A close ends even when its owner is gone.
- A closing popup stops taking clicks and hands key status back to the window under it as soon as the fade starts, like
SidebarGroupEditor.dismiss. - Page Info counts a fading bubble as closed, so the omnibar button reopens it.
- Transcript under Reduce Motion: live rows, newly streamed text and a highlighted code card appeared in one frame. They keep their opacity fade (no rise), and the pages' blanket Reduce Motion rule exempts them. The streamed-text fade uses the motion token instead of a literal 160 ms.
- Settings and transcript scales: the settings Reset button, notes and badges, and the Jump to Latest pill, grew from 0.8 / 0.92. They now fade (the pill still rises 6 px).
These stay on the bead:
PaneContentView+PaintHold's blank pane after a 500 ms hold. It isn't a motion transform.- Four base
check-motionhits:WindowMaterialView,AgentCursorLayer,HoverCardPanel, and the space slide's tokenized spring. This PR removes the four group-chip and bounce hits (12 โ 8).
Testing
Red proof tmp/polish4-red-proof at 14ff310af983 (base plus only the test files). Green at 993d6ae0ee62. Fleet run-swift-testing-suites.sh, both on display hosts.
Red on aws-m4pro-8:
aWheelPastTheLastSpaceLeavesTheListStill: the list bounced.aNewGroupsChipFadesInWithoutGrowing:transform.scaleon the chip.theBubbleOpensAndClosesWithMotionandthePickerOpensAndClosesWithMotion: no open animation, gone at once on close, and (review) still taking clicks while closing.aReopenDuringTheCloseKeepsTheBubblepasses there too: an instant close had nothing to race.
Green on aws-m4pro-9: all of these pass; 213 passed, 0 failed. The display-gated tests skip on display-less minis (aws-m4pro-1, -3, -4, -6), where a window with no screen applies its changes at once.
Web: test/calm-motion.test.ts (browser) loads the real stylesheets in Chromium.
- Red: transcript fades were
noneunder Reduce Motion; the pill and settings scales were 0.92 and 0.8. - Green: 3 of 3.
bun run checkpasses.
Release compile on 83ee9cd5f100: BUILD SUCCEEDED. Only test files changed after it. Concurrency, crash-ratchet, motion, scrollbar and god-file checks show only base hits. SidebarListView is over its god-type budget on base (1022 lines); this PR shrinks it by one line.
CI react-apps-check: only agent-pane-peer-chat fails. It is a timing flake: the page took 25 s to load on the runner, so the running-turn timer read 30 s against a limit under 30 s. This PR doesn't touch the agent pane's timers.
Review subagent: one medium (a fading popup kept keys and clicks) and two lows (Page Info's key-elsewhere watcher; two fades still cut under Reduce Motion). All are fixed with red tests above.
Changelog
Changed: Page Info and the icon picker fade open and closed, sidebar space paging no longer bounces at the ends, and under Reduce Motion new transcript content fades in instead of popping.
Proof
Motion changes, recorded by the red and green tests above.
๐ค Generated with Claude Code