Skip to content

✨ Motion M5: the Server pages and tools unfold from the press, and the door closes around the fox - #120

Merged
simonhull merged 5 commits into
mainfrom
feat/motion-m5
Nov 20, 2026
Merged

simonhull merged 5 commits into
mainfrom
feat/motion-m5

Conversation

@simonhull

Copy link
Copy Markdown
Owner

Plan 071's fifth and last motion milestone, as approved 2026-11-19 ("A/A"): the Server family unfolds from the press (A), signing out closes the door (A), and the first option of decisions 36–45.

What each pair does now

  • Keying (37). RouteName splits server, trash, organize, duplicates, duplicate (a group or an album pair) and matching. Server, Trash, Organize and Duplicates join rooms; a group and Matching are serverRecords. No M1–M4 pair changed: the unit tests pin every existing pair, and journeys, rooms, moment and surfaces pass unchanged.
  • The Server family (36): unfold from the press. Server ⇄ Trash and Organize (rows, compact links on a phone, crumbs), Organize ⇄ Duplicates (tabs), Duplicates → Server, You ⇄ Server (Server settings ›, YOU › SERVER), Health ⇄ Server (Server's Health row, ReplayGain's Server › Library), the family ⇄ the nav's rooms, any page → Organize (the nav's ORGANIZING note, an album's ⋯ › Organize, Organize's toast), Duplicates → Trash (the merge toast's See the Trash), Organize → a group (a conflict's Compare). The headline (each page's h1, now a data-morph-headline unit) is born at what was pressed and grows along one line; everything else gathers around it 0.12 @40; the page left gives way on --morph-fast, its headline on exit (45). A control whose code navigates counts as the press for 1.5 s.
  • ToolTabs (38). One strip on Organize, Duplicates and a group (kind: 'strip', StripFlier): the page's own from the first frame, never in the air nor giving way, carried from where the old one stood when that differs; only its fill flows to the tab pressed on --morph, and turns where it is on a quick press.
  • A group's title (39). Leaves its row for the headline and goes back into its row; the page gathers around where it lands, and no headline is born. A group is read on pointerdown and kept, so its title has somewhere to land. After a merge the group is gone: Duplicates is born at ‹ All duplicates' place (unfoldFrom). A group ⇄ its album pair is re-pressed in place.
  • Matching's number (40). Travels between Health's MusicBrainz card and Matching's headline, both ways; Health scrolls the card clear under the picture left when it is below the fold. The queue as last read is kept for the landing. Matching → Album is the album's door with the hero born at Open the album.
  • The door closes (41). Every way to /login: the fox flies from its seat in the nav to the door's at true size, drawn as its own mark scaled; the frame (the nav's glass, the island, a stage) dissolves where it stands as a picture under the door on --morph; the page's words go on --morph-fast; the door gathers 0.06 @90 around the fox.
  • Now playing → Login (42). The Play button stands in for the fox: the fox is laid over it at its true size and radius.
  • When (43). Sign out re-presses to "Signing out…" and the door closes once the server has answered; a session that ends closes it at once.
  • Login → anywhere (44). Every page next names gets M3's Login → Home door (login-to-page).
  • Reduced motion: the 120 ms blend everywhere, the door too. Quick presses retarget from where things are.

Also: the Server page's crumb sat under its headline's glyphs, which took its click (on main too); it is lifted over them.

Proof

  • Gate: GOWORK=off mise run check exits 0 (189 e2e passed).
  • e2e: new web/e2e/server.e2e.ts (20 tests, structure not timing): 20/20 repeats (400 runs, 16 workers); with journeys, rooms, moment and surfaces, 10/10 repeats (870 runs); the full suite green.
  • Screenshots at 0/12/30/55/110% of settle, beside the boards' frames, were checked for every boarded chip at 1440, 390 and 3840; they found the title and number fliers measuring full-width blocks (fixed: the words are inline blocks of their own) and the fox flying under the nav (fixed: in the air).

Perf

The browser suite on a git archive of origin/main (7d68ebf) and on this branch, one after the other on this shared, GPU-less box (KITSUNE_PERF_PORT=15800, KITSUNE_PERF_DIR in a scratch dir, the same generated libraries, only the server binary swapped). No perf spec changed.

  • Full runs: base 42 passed / 20 over budget; branch 45 passed / 17 over. Nine specs failed only on base and six only on the branch.
  • The six branch-only failures were run again, alternating base and branch twice: each also fails on base in some round, or passes on the branch (Next, Previous, the rail sweep, Back to Home from Albums, Library first rows), so they are the box's noise. Search's keystroke at 50k looked slower while the branch always ran second (84–169 ms against 47–56); run with the branch first it is level (49 / 52.5 / 52.6 against base 55.2 / 55.5 / 47.7). M5 runs nothing on that path (a same-path query returns before any journey).
  • The one real cost is the one M2 chose: Organize from Server now unfolds, and a room waits one frame unseen for what it already holds before it is painted (decision 12), where the blend showed the page at once. p95 to the template's chips: 1k 36.5 → 85.4 in the full run, 49.3 → 52.6 and 40.3 → 56.7 alternated; 50k 35.6 → 52.9, 36.1 → 108.9, 46.8 → 52.5, against a 55 ms budget. Every Server-family page now pays it, as the nav's rooms do. Nothing waits on the play path: the play, skip and star rows move with the noise on both sides.
The full table, base and branch p95 side by side (one run each)
Interaction 1k p95 base 1k p95 branch 50k p95 base 50k p95 branch Budget (p95)
Play a song from the Library 75.5 ✗ 64.6 ✗ 65.3 ✗ 39.6 45 ms
Play a song from the Library, clicking a cell 60.5 ✗ 43.7 35.2 26.8 45 ms
Play a song on its album page 27.0 21.1 20.7 22.9 70 ms
Next 28.4 24.6 30.3 29.0 35 ms
Previous 32.5 28.4 32.3 30.3 45 ms
Star the song playing from the island, on screen 22.0 21.8 26.3 45.1 ✗ 30 ms
Shuffle on Now playing, press to Up next reordered 16.2 16.1 16.7 16.4 25 ms
Star a song, on screen 21.6 21.9 22.3 27.5 30 ms
Open an album from the Library 71.2 68.6 70.5 64.1 120 ms
Library first rows, from page load 289.9 326.5 559.6 ✗ 437.8 500 ms
Longest frame in a 2 s Library fling 66.7 ✗ 66.7 ✗ 33.4 ✗ 50.0 ✗ 32 ms
Longest frame while the Library sweeps the rail A to Z 50.0 83.4 ✗ 66.7 100.0 ✗ 75 ms
Search, keystroke to results 45.3 40.4 56.1 96.9 ✗ 65 ms
Open the columns menu 17.4 22.2 19.6 17.1 30 ms
Open a song's ⋯ menu 17.6 19.4 31.9 ✗ 15.9 25 ms
Move to Trash from a song's ⋯ menu, press to its row folding 21.6 19.4 104.6 ✗ 61.4 ✗ 36 ms
Shuffle the library, press to sound 23.4 25.6 60.0 ✗ 59.9 ✗ 50 ms
Next, in a shuffle 23.3 21.7 21.6 19.7 30 ms
Turn the Library's order round, click to rows 25.2 54.8 100.2 31.1 150 ms
A song ends, the next one sounds 6.5 5.5 5.9 9.8 12 ms
An album ends, the next down the Library sounds 8.6 8.2 9.2 8.3 12 ms
Play an album from its cover 27.8 33.7 27.2 27.2 50 ms
Play an album from its Library cover 58.5 ✗ 27.1 29.2 38.6 45 ms
Longest frame while dragging a column across the Library header, 2 s 33.4 ✗ 16.8 33.3 ✗ 66.7 ✗ 32 ms
Drop a column, release to rows in their new order 28.9 25.6 29.6 24.4 38 ms
Alt+→ on a column header, key to rows in their new order 37.3 35.0 49.2 ✗ 35.9 47 ms
Open an artist with 800 songs from its album, click to Top songs' rows 86.0 85.4 258.1 ✗ 116.5 235 ms
All N songs, click to the full list's rows 49.3 51.6 88.9 58.1 140 ms
An artist's songs, flat to by album, click to rows 70.0 58.7 119.9 80.7 120 ms
Play a song from an artist's flat list 20.8 21.1 22.2 52.4 ✗ 45 ms
Longest frame in a 2 s fling of an artist's 800 songs 16.8 16.8 33.4 ✗ 50.0 ✗ 32 ms
Page load to the restored island, paused 168.6 198.8 ✗ 315.7 ✗ 142.7 180 ms
Play an album from its cover on Home 78.8 ✗ 31.8 29.6 29.3 42 ms
Pick up where you left off: the Continue card's Play 61.3 ✗ 24.4 25.2 38.5 40 ms
Back to Home from Albums, click to its rows 81.1 81.5 85.9 136.1 ✗ 110 ms
Open a playlist of 500 songs from its card, click to its rows 159.2 ✗ 74.5 71.4 120.8 ✗ 90 ms
Add a song to a playlist from its menu, press to the toast 31.1 ✗ 17.4 18.3 17.0 26 ms
Open a smart playlist of 500 songs (a text rule over 50k, the 500 least recently played) from its card, click to its rows 68.6 117.4 316.7 ✗ 305.7 ✗ 160 ms
Rules editor: press a star, to the count changed 134.6 137.5 152.3 149.5 200 ms
Open a file playlist of 500 songs (an .m3u8 at the top of the library) from its card, click to its rows 123.0 ✗ 101.3 ✗ 57.0 57.2 90 ms
Export: press Download on a playlist of 500 songs, to the download starting (the response's first byte) 51.9 46.3 42.3 61.9 70 ms
Organize: click it on the Server page, to the template's chips painted 36.5 85.4 ✗ 35.6 52.9 55 ms
Duplicates: click its tab on Organize, to the first groups painted 109.8 155.9 217.0 123.7 300 ms
Organize: press Preview over the whole library, to the first album's rows 167.1 117.9 1426.1 ✗ 768.3 1100 ms

@simonhull
simonhull merged commit f8df1fb into main Nov 20, 2026
10 checks passed
@simonhull
simonhull deleted the feat/motion-m5 branch November 20, 2026 12:40
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