Repository navigation
✨ Motion M3: the player and Now playing, back into the hand - #118
Merged
Merged
Conversation
…e the page holds its album
…its leaving reversed
…wing fill never keeps it in the air
…0, 3840, latency and reduced motion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan 071's third milestone: the player and Now playing, as the M3 boards were approved on 2026-11-18. That means A (Back into the hand) for decision 17, the second option for 18, the recommended option for 19 to 22, and 23 parked.
What each pair does
into-now-playing; decision 19). This covers the rooms, Artist, Playlist, and Server and its tools. It is M1's Home → Now playing, generalised: the island's cover rises to the poster, the page falls back around it, the poster's stage comes up over it, and the title climbs out a line at a time. Settles in ~1040 ms. From an album the hero rises when it is on screen, as before (album-to-now-playing).back-into-the-hand; decisions 17 and 18).name:<artistId>. It takes the stage @40 and grows into the headline, while the poster goes into the hand.--morph@120. Its shape is set at once while it is still unseen (data-returning, set in the same flush as its look). It no longer drops 20 px and scales up from 0.94.Interrupts work as they did in M1 and M2. Pressing the island's cover mid-flight, pressing Close while the moment is still opening, and quick runs of Close, cover, Close all retarget from the pose things had reached.
A bug found on the way
At 3840 under load, Home → Now playing sometimes never landed. The progress bar's flier was chasing the scrubber's fill, which grows in real time with the song, while a loaded frame advances the springs by at most 50 ms. The flier fell behind by more than a pixel and stayed in the air. Now the flier carries only its gap to the fill, so a moving target never reads as distance still to fly.
Tests
web/e2e/moment.e2e.ts. It checks stacking, where the poster lands for each destination, landing, turning back mid-flight, rapid presses, 390, 3840,?latency=300and reduced motion, all by structure and with no fixed sleeps.--workers 16together withjourneys.e2e.tsandrooms.e2e.ts: 560/560.Perf
The browser suite was run against a
git archiveof main as the base, back to back with M3 (KITSUNE_PERF_PORT=15770).Full suite, both libraries. Base ran 15:56 to 16:25 (load 31 → 3.8; other sessions were busy when it started) and M3 ran 16:25 to 16:55 (load 3.8 → 2.8).
Those specs again at 50k (album, artist, columns, library, shuffle), alternating base, M3, base, M3 from 16:56 to 17:27, with load 2.2 to 4.4 throughout:
Medians agree to within a millisecond or two everywhere. The p95 failures (the 50k fling and column-drag frame tests, an Alt+→, shuffle-to-sound, the first rows) land on both branches in turn, so they are this machine's noise and not M3's. Nothing on the play path changed: the island and its play, star, Next and Previous match base.
Where the build departs from the boards
These are recorded in DESIGN.md's Open drift.