Skip to content

Library: Collections redesign (header row, Collections and Recommended pages, Under posters, scroll chrome) - #843

Merged
GLinnik21 merged 287 commits into
mainfrom
library-collections-redesign
Oct 19, 2026
Merged

GLinnik21 merged 287 commits into
mainfrom
library-collections-redesign

Conversation

@GLinnik21

@GLinnik21 GLinnik21 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Implements the Library / Collections UX redesign and closes the owner's TV findings and the design team's review of it. Focus-tile motion is deliberately left out.

What changes

  • Library page: always the full grid; the sub-tabs and the "All" heading are gone.
    • One header row: library names on the left (shown with 2+ libraries, folding into "+N"), and Collections · N | Recommended | Sort & Filter · value ▾ on the right. Libraries switch on OK only, never on focus. While a filter is on, an "N of M films" read-out sits beside Collections.
    • The "+N" menu lists only the hidden libraries, grouped by server, with "Shared with you".
  • Grid: 6 columns of 250×375 posters, pitch 285, from y 244. Captions are drawn beneath the tiles.
  • Under posters (Settings › Libraries): a Title switch and a Details picker (Year · Length, Genre, Video, Age rating · Score, Nothing) with Reset and a live preview; its sample rows come from the preview's middle poster.
  • Collections page and Recommended page (this library's hub shelves), each under a <Library> › <Page> crumb. Collection tiles carry no count badge; a long name is clipped to its tile with a 24 px fade, then scrolls on the shared marquee.
  • Collection screen: a big title with "‹ " above it, naming the page it was opened from.
  • Crumb rule: a page whose heading sits in the header row reads "Parent › Current"; a page with its own big title carries "‹ Parent" above it. One shared painter.
  • Arrival: every page arrives in its content: the first poster is seated (dormant until the page's dissolve ends, then lit once). While a page is still loading, Up seats the nav bar and Down/Left/Right wait for the first poster. A poster whose art lands late dissolves in on the page fade's curve, and the seated poster's art is requested first.
  • Scrolling: the chrome tucks away and a live-glass count capsule appears (2+ libraries or a filter); a 72 px top fade; a header row riding the page fades by where it stands against the chrome (Library and Watchlist alike), so the account chip never draws over it. A–Z rail at x 1844.
  • Menus: every header menu, and the account menu, grows out of its opener's drawn rect and morphs back into it; the opener stays lit above the scrim on one opener-lift pass; a panel hangs from its opener's outer edge.
  • Tab and hero ink: a nav/tab label is drawn as one raster at full ink, one glyph weight across its ink regions, stepping between regular and bold on one frame (a pill's arc no longer loses a glyph); hero buttons pick one max-contrast ink over their focus ramp; two labels sharing a slot never share a frame; the Watchlist disc's words ride its 12-frame glyph flip.
  • Strings: the Sort & Filter vocabulary is one table for the Library and the Watchlist, in all 8 locales (no server-English fallbacks; "Score" for the critic rating); "8m left" / "1h 2m left"; "Movies & TV Shows"; one noun for a collection's count and its grid heading. New Belarusian words were checked on skarnik.by and verbum.by.

Verification

  • On the committed head (2146695, which includes main at cc0ecc5): make check exit 0 (cargo — ok, python — ok, rest — ok, 103 steps — all ok, harness — ok; 29 test result: lines, all 0 failed, 18211 passed); make test-hostsim ok. 926 passed; 0 failed; make check-nodef clean; make check-replay 3 fixtures / 6 replays, 0 failures, every replay SAME (anchors 1, 6, 12 were re-recorded once, earlier on this branch: the "N min left" mock string became "Nm left", and batch-3 pixels moved; unchanged since).
  • Route tests for every affected route (Library, Collections, Recommended, Collection screen from each origin, Watchlist, Under posters, account menu, crumbs) run on the app-tier World rig.
  • Every new animation was dumped frame by frame in the simulator and graded with pixel tools (ink contrast against the local fill, glass rect per frame, label overlap, digit cross-fade); a two-agent design team (Apple-style review, exchanging findings by message) reviewed every affected screen on the final head: 0 blockers; its one should (the account chip going dark for one frame as its menu opened) is fixed here and re-dumped: on the frame the menu opens, the chip's mean luma goes from 59.7 to 72.1 (lit, not darker), holds at 71.8-71.9, and the first glass frame starts at the chip's own top-left.
  • ARM release build links (make ARM_PROFILE=release).
  • No Makefile, Cargo, build.rs or workflow changes and no crate or module moves: ci/module-layers.ini only lists one new file (sortfacts) in its existing layer, so no build-bench table.

TV (webOS 4.5, release build of 0d28eac, guest + mock server, panel on, muted, 60 Hz)

That build is this head before the account-chip fix (it draws less on one frame) and the last merge of main.

  • fps:library-collections PASS 60/60, fps:library-scroll PASS (robust_min 60 loop/s, median 60 fps), fps:library-switch PASS, fps:library-recommended PASS 60/60 (now with its own --section-hubs 3 mock block), fps:watchlist-idle PASS. stderr empty in every scene.
  • Every-frame 136 s Library scroll: 74 of 8953 frames >= 22 ms (0.0-0.9% by scroll phase), p95 17.0-17.4 ms.
  • Attribution of the late frames (Mali HWCNT, every-frame logs, scheduler traces, GPU timer queries, an all-process GPU-ioctl trace): they come in bursts about 11 s apart in which one extra Mali fragment job (~1.7M cycles) lands in our frame and pushes it past the vsync. Our own frame work is unchanged in the bursts and fits the budget; the bursts drift against our scroll and the app has no 11 s timer. Only the app and surface-manager submit GPU work, and neither submits more during a burst, so the extra job most likely rides inside the compositor's own per-frame chain; which process owns it is not determined (this kernel exposes no Mali tracepoints and no GPU clock). The app's lever is GPU headroom (question 1 below).
  • When the set was left in a 50 Hz output state (after YouTube), library-scroll read robust_min 48 against a 50 loop/s floor that equals the refresh: the gate's floors and the 22 ms threshold assume 60 Hz (follow-up).

For the owner

  1. Live capsule glass vs GPU headroom (S14): with a very long library name, 7.1% of scroll frames exceed the GPU budget (1.9% with a short name), and the compositor's periodic job needs ~2M cycles of steady headroom to pass unnoticed. Freezing the capsule's ground while the grid scrolls frees part of that, but changes the live glass you chose. Keep live, or freeze while scrolling?
  2. One header baseline (N5): with one library the header row sits at y 158, with two at y 148 (both as specified), so switching between a 1-library and a 2-library tab moves it 10 px. One baseline?
  3. Orientation on a scrolled Collections page (Q4 / S22): it has no mark (the Library shows its capsule). Add the capsule there?
  4. Filter read-out noun (S16): "15 of 16 films" instead of the spec's bare "312 of 1,284", so it no longer reads as "15 of 16 Collections".
  5. Account panel edge: the page's dimmed Movies plate shows 20 px to the left of the account panel (plate x 77, panel x 97). Fade it with the chrome while a chip menu is up, or leave it?
  6. Menu close: the dim takes 20 frames to clear after the glass has closed in 9. End both together?
  7. Under posters picker: when the preview's poster lacks a row's fact (e.g. no age rating), the row shows no sample. Leave it blank, or take the first cached poster that has the fact?
  8. Crumbs: two forms under one rule (header-row "›", big-title "‹"). Unify onto one glyph?
  9. Belarusian "random" sort: "Выпадкова" (adverb, like "Zufällig") or "Выпадковы"?
  • Behaviour notes: tab and nav labels now step from regular to bold on one frame at full ink (a two-raster weight fade lost glyph contrast); a Collections count that reaches four digits widens its slot once (~28 px); the Watchlist's title arrives about 14 frames after the chip as the page scrolls back up, fading in over its last 18 px; a menu's first glass frame is its first spring step at ~15% opacity.

Follow-ups (not in this PR)

  • The FPS gate's loop floors and the 22 ms late threshold assume 60 Hz; scale them to the measured refresh.
  • The frame probe's w= brackets the blur-source clear rather than the back-buffer clear; the GL timer cannot time the blur phases inside the source walk.
  • The frame-dump harness's landing wait (Gate::take_owed -> dump_wait) carries no blocking label, so the 2 s watchdog aborts a dump of a page whose read takes over ~1 s (Collections, Watchlist); the simulator's shot token causes a ~1.9 s unlabeled stall in the windowed sim. Both are simulator tooling only: a normal run never blocks (Watchlist reply delayed 3 s: worst navcommit 3.3 ms).
  • Frame-thread scheduling against LG middleware threads (18% of the remaining late frames; pre-existing).
  • Recommended's shelves do not request the seated card's art first (not visible with the mock's posters).
  • Date forms differ between screens ("9/27/2010" vs "12 Mar"); pre-existing.

🤖 Generated with Claude Code

GLinnik21 and others added 30 commits October 19, 2026 01:00
…he Library page logs no libhubs line

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…elves

LibraryScreen carried a shelf mode (shelves, run, grid_head, Toolbar, HubSrc, shelf_label)
that RecommendedScreen duplicates since the redesign; both mounts already ran without_shelves().
Shelf geometry (ShelfRun) moves to recommended.rs, the card-conformance shelf harness drives
RecommendedScreen, and the tests that exercised shelves on the grid page are ported or dropped.
The screen-shape pin moves with the two shape strings.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…-owned file)

LibraryScreen no longer holds hub shelves; the libshelf screenshot arm seats and reads
focus on RecommendedScreen. Drop this commit if the integrator carries the edit.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…r the header row and grid, no stale shelf steps

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ixtures onto the new state shape

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…de, not the process-wide setting

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ts frozen ground

A whole LibraryScreen::draw could not be exercised on the host before: the page header's
icons reach gfx::upload_rgba -> glGenTextures with no GL context (SIGSEGV), and a field latched
through latch_from_corners keeps tex 0 on the host, so ground_tex() is None and the capsule fell
to the flat tint whatever draw handed it. Two test-support seams in plx_ui remove both:
icons::upload mints a ledger-specced stand-in name instead of uploading, and
underlay::stand_in_upload_for_test lets a latch adopt a stand-in name as upload_rgba would.

The new scroll_chrome test draws the page descriptively one grid pitch down and asserts exactly
one glass_frozen paint and no backdrop paint, then none at the top with the field re-armed.
Handing None at the draw.rs call site fails it (checked by mutation).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…ocusGroup, be poster word, stale docs

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…empty letters dimmed, top-fade regression test

The Collections crumb's root is the library's own title (not a hard-coded Films).
The A-Z rail merges the script alphabet with the server's letters (absent letters count 0,
dimmed and skipped), scaling the letter pitch down only as far as 27 letters need to fit.
A tucked page's 72 px top fade is now pinned by a draw-order test.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…riggers, shelves-deep scene, parity gap, screenshot arms doc)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ut at 50% white 64px before Collections, +N fold-independent-of-focus test

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…'Shared with you' with the owner on each row, one line each, hung at x 330 width 560
…and lifts its control (no plate under the scrim)
…size regular secondary, 64 tall at 96,54

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… the bluish secondary

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… starts at 152 before it shrinks

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ker with samples, framed one-poster preview; None -> Nothing in every locale

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…its title row, root link goes back

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The spec's first visit lands on the first title; a library chosen with OK still seats the header.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…no longer holds a tile list

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…on purpose

The arrival test (library_tab_arrival_tests) records why: a seated tile pops under the page's dissolve. Item 13 stays as designed; the spec line needs an owner call, or a no-pop seat.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… snapping

HeroDisc::set and DetailScreen::set_watchlist snapped on any Unknown -> known change, meant for
the list landing under an already-listed title. An Add pressed while the list is unread (or
unreachable) is Unknown -> On too, so it snapped while a Remove (On -> Unknown) drained. A press
now marks its own change, which plays the flip.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21 and others added 10 commits October 19, 2026 18:39
…NT gave a mock block (--section-hubs 3)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
CONTENT changed the time-left form (ALPHABET: '12 min left' -> '12m left'), so the committed
1-boot-home-chip-grid fell outside the closed alphabet; batch 3 also moved pixels and measured
text (ink weight, hero names, art dissolve, header clearance, menus). The shape did not move
(4058586095815036115), so rerecord refuses: each anchor was recorded afresh
(tests/focusfp.sh --rec --only 1,6,12), checked with plxnative-rec check against the unchanged
alphabet, and only rec-0000.jsonl replaced (manifests equal the new header). make check-replay:
three fixtures, six replays, verdict=SAME, every difference counter zero.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… an alpha onto the label)

Records what StripRender::draw hands a recording painter over the Home/Movies/TV Shows
hops: every label run must carry exactly one region's ink and one weight per frame.
Red on dc98334: frame 2 of 1 -> 2 draws "TV Shows" at alpha 0.906.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ps instead of crossfading

TabPill::draw's strip-driven branch laid a regular and a bold raster over each other at alpha
1-w and w, so a glyph pixel got 1-w(1-w) of the ink where both faces cover it and w or 1-w
where one does: 111 glyph-body pixels under 3:1 over three hops of the top bar (worst 2.02:1).
Draw ONE raster per frame, bold from a weight of one half, with no p.alpha on a label. The nav
bar and the season strip share the branch.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… latched (CONFIRM2 CB1)

The field latches a frame after the OK that opens the account menu. On that frame the lift fell back to the flat scrim_black(TAB_TRACK_A) capsule over the capsule the bar had already drawn under it (the dim is 0 there), so the chip blinked near-black for one frame on every open. chip_capsule's frozen ground is now the latched texture, so an unlatched ground is not representable, and lift_profile_chip returns before drawing anything. Page openers (redraw_focused) take no ground and are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…CB1 made the flat-capsule sentence false)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@GLinnik21
GLinnik21 merged commit a397e15 into main Oct 19, 2026
19 checks passed
@GLinnik21
GLinnik21 deleted the library-collections-redesign branch October 19, 2026 18:50
GLinnik21 added a commit that referenced this pull request Oct 19, 2026
…stops flipping on its own cycle's phase (#855)

In frame-dump mode the landing wait slept on the frame thread past the blocking gate, so a page whose read took over about a second showed one long frame instead of its loading frames and the hang watchdog aborted the dump. The blocking wait now passes the gate, and the dump driver arms a paced form that never sleeps: a take whose answer is out names its store and the driver holds the iteration on it. PLXNATIVE_DUMP_LAND_LAG_MS keeps a request out for that long in virtual frames so a loading page's frames are filmed; while a lagged store's answer is deliberately out its page's loading placeholders are not hold debt. #[track_caller] on the wrappers between a take and its caller gives each mailbox its own site key. Outside dump mode the effect is unchanged.

fps:library-switch graded the median of its 1 s drawn-fps windows, which sat at 7-11 since #843 and flipped on the phase of its own switch cycle against the windows (7, then 9, on one binary). It now requires at least 6 graded windows at >= 4 fps, which passes every recorded TV run and fails a frozen animator, a partway freeze and a frozen run with one burst.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 20, 2026
…e, and library-shelves-deep can pass (#860)

The scene was blind: since #843 the Recommended page answered the focus probe with an empty line, so
library-shelves-deep and the held-paging scenes never saw focus move. The page now prints the Library's
focus fingerprint, the scenes walk the shelf region, and a harness validator rejects a scene that waits on
a region its page never prints.

Every store publication (about one per key) rebuilt every row: Vec::remove of every row, re-registration
of every slot, the all-elements sets refilled. Home's keep-unchanged-rows matching moves into registry.rs
as RowSeats/RowDiff and both pages use it; the Recommended page keeps a row whose exact Basis (hub,
length, column identities, linked heading, placeholder query) is equal, re-seats it instead of
re-registering it, and re-arms every row's page-ask latch on a publication. KeyRegistry keeps per-region
counts; the shelf-key sweep runs past twice the live keys plus a batch and is bounded, not a reach cap.
restore and a hub listed twice still do a full build.

TV (ARM release, panel on, muted, mock): library-shelves-deep 60 fps, every-frame store step median
0.6 ms (p99 1.3), 0 key-press late frames; held-paging 3g / remote-wan, library-recommended and
library-scroll pass. Host store-frame rebuild 1.98/1.29 -> 0.10/0.13 ms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 20, 2026
…y no longer snaps the card it left (#866)

A held Right on the Library poster grid snapped the card it had just left 3.7-5.4 px per edge: the grid kept ONE let-go spring, so each press threw the still-shrinking card away. The grid, and Detail's Episodes strip, now land on the shelf's own rule (Spring::land, #861), and every released grid card keeps a spring of its own until it lands.

- Sim, every frame (Library grid, held keys): largest single-frame step of a released card 5.38 -> 1.23 px per edge (the unchanged pop spring's own speed from full pop); step beyond smooth motion 5.38 -> 0.70 px (a free let-go: 0.69). A released grid card and an Episodes-strip cell rest at exactly 1.0 (were 1.002676 / 1.0000001 on the focus shader); landing jump 0.43-0.55 -> <=0.03 px (grid), 0.30-0.35 -> <=0.05 px (Detail).
- GridPop keeps a sparse list of let-gos (only cards off rest, each landing in ~28 frames: bounded by time, not a count). A let-go is born with its element; a press back onto a card picks its spring up where it is. The tick follows each let-go through a source change (nearest-first bounded search, one hash per let-go in flight); a frame resolves let-gos by cell, so the draw hashes no card; reset keeps capacity, so steady-state frames allocate nothing.
- Canon: the let-go canon is the pop then a counted sequence; LibraryGrid::SHAPE declares it and the bands slot's card (written since #843, never declared); SCREEN_SHAPES_PIN bumped; the three replay anchors re-recorded once for the shape fingerprint after replaying them SAME (diverged=0, every counter 0) against the new canon with the old shape text.

Tests, each watched red: every released grid card runs its own let-go; a removal/insert ahead of focus with a press in the same frame keeps the let-go; the landing test asserts each let-go's cell; the draw hashes no drawn card while cards let go; the canon cannot run into the state after it; Episodes cells at exact rest; the shape pin. Gates on the committed tree: make check 103 steps ok (1840/0 largest), hostsim 938/0, check-nodef clean, check-replay 6/0 SAME. One review (no blockers; its shoulds fixed here), one simplify pass.

Not here: a refresh that replaces a cell's element still drops that let-go (shelves too; needs a successor notion on CardSource); a let-go is followed within 96 cells except the last-focused card; the Episodes strip still steps its own per-slot springs (k 300).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 20, 2026
…shows only once its room is there, and Home rests like the Library (#859)

The owner, after #843 on the TV: the Under posters setting applied only in the Library; it should apply on Home and Recommended too ("Seasons tiles left without title", "Search does not follow new tiles rule", the account chip over a Home heading).

- Settings > Libraries > Under posters is global: every poster tile reads it through one builder (screens/src/registry/captions.rs): Home and Recommended shelves, the Library grid, Collections page and Collection screen, Search poster rows and filmography, Detail's Related and collection shelves, the Watchlist. Landscape stills and headshots keep their own fixed labels (one shared still label).
- A line the setting turns on is never drawn empty: each kind falls back to an identity (season title / "Specials" / "Season N", "S1 · E3", year, collection size, then a kind word); Continue Watching keeps "8m left" and the amber play mark rule; one episode address spelling.
- A caption line is on screen only once the room under its card holds it, on the grid and every shelf alike (card_row.rs room_for / line_reveal_for; band_fade, band_reveal, band_reveal_for removed). The room is measured to the DRAWN top of what is below: the popped, pressed or still-shrinking tile on a grid (Grid::rise_below with #866's let-go scales) or the next shelf's lifted heading (SectionFrame::below_rise from Home, Stack, Recommended, Detail). This fixes the next row cutting the grid caption on Down (on main since #843; Collection and Watchlist too). The Person page carries its shelf air as Search does (shelf_foot); every owner keeps UNDER_LABEL_AIR under a shelf, pinned.
- Home's rest rule is the Library's (grid_rest_scroll): the focused shelf's heading rests in one place, clear of the account chip; headings under the chrome fade; every Down/Up moves a full shelf.
- Fixed along the way: the Library Episodes listing's label no longer covered by the next row; an untitled item is still a card (one pms::shelf_card); a season 0 tab reads "Specials".

Tests on the app-tier World rig and the card suite, each watched red (surfaces x settings, band heights, Home chip/nav clearance, a setting changed under a kept Home, the held-Right glide, released posters at exact rest, no caption line where the drawn tile or a let-go tile below is: 11.9 / 8.5 / 7.8 px red, the default policy monotone, the two-shelf walk, band 0, the shelf after an empty one, the Person page, the pinned air). Gates on the committed tree 48c8751: make check ok (1840 largest, plx_screens 1641, plx_ui 1305), hostsim 969/0, check-nodef clean, check-replay 6/0 SAME on three runs. Replay anchors re-anchored for the intended changes (owner-approved): Home for the captions and #861's exact rest, then 1 and 12 once on the merged tree with attribution (Person pixel-identical outside the caption box on 4350 frames; Home's streams equal but the caption measurements). Simulator every-frame evidence for Home, Recommended, Search, Detail shelves, Library grid 112/80/0, Collection, Watchlist; reviews: code audit, combined review, the design team three rounds (0 blockers), one review of the reveal, simplify, doc-claim audit. TV (release, panel on, muted, mock): held paging and deep walks at 58-60 fps. The owner looked at it on the TV and approved it ("I like it").

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 20, 2026
…nd a tree-wide gate refuses the class (#867)

`make test-crate C="plx_ui plx_screens"` aborted plx_ui nearly every run (SIGABRT "pointer being freed was not allocated" / SIGSEGV in a CString drop): a test-only data race on `static mut TAB_CACHE` (widgets.rs) between the two tab-pulse tests (#831) and the five-face top-bar test (#843), each replacing and freeing the other's entry; make check's 2 test threads missed it by timing only. Production touches these caches only from its frame thread. This removes the class: no `static mut` that owns heap remains unnamed.

- plx_ui render caches -> thread_local! (widgets TAB_CACHE, icons CACHE, text_view WRAP_CACHE, testpat CURRENT, anim ENTRIES, popover CACHE/HELD/TARGET); gfx text elide memo -> thread_local!, font cmaps -> OnceLock (write-once pure function of the file); the app's poster art-key memo -> thread_local! with Rc<str> keys (hits stay allocation-free; cross-thread use is a compile error); textinput's pending-commit queue -> thread_local!. The three gfx.rs GL-context probes stay static mut, named with their reason. The tab-pulse tests take the motion test lock. No RefCell borrow is held across a call that re-enters its cell; popover asserts in debug that the page redirect is closed at the frame boundary.
- ci/check-statics-heap.py (run by ci/check-statics.sh in make check) refuses a `static mut` anywhere under rust-modules whose type owns heap unless named with a reason; it follows the tree's own type definitions, ignores associated types and enum variant names, treats std plain-data wrappers as plain while their parameter is, names macro statics by their macro, and fails red if it crashes. Allowlist 10 -> 5.

Regression tests through one shared harness (plx_base::testrace), each crashing on the old code: tab labels per thread (5/5 aborts), elide memo, art-key memo, pending-commit queue. The repro is clean: test-crate pair 5/5 ok (was FAILED -6), tab tests at 5 threads 10/10 (was 5/6 crashes). Gate tests watched red. Gates on 773e7dd: make check ok (1840/0 largest, harness 483 OK), hostsim 940/0, check-nodef clean, check-replay 6/0. One review (no blockers; its gate false positives and nits fixed here), one simplify pass. A thread_local! read is local-exec TLS on the static non-PIE ARM executable; nothing new allocates per frame.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 20, 2026
…o longer holds the dip's image (#872)

The owner, on the TV, pressing Recommended on the Library header: "No animation on recommended entering". The page drew only the route dip, its shelves had no arrival, and focus showed about half a second late.

Recommended was the one page whose content was not held at rest under the dip's page image (#843 built it without the hub shelves' dormant hold). It seated its first card with the lift already whole, which opened the first row's caption band and lifted its heading: layout motion, so PageImage kept the unfocused image 32 frames past the dip's In, then cut to the focused page.

- Warm entry: the shelves are dormant while the page image is held (Shelf::dormant(page_image_held()), the Library grid's rule), so the image is let go when the dissolve ends and the first card grows from rest.
- Cold entry: the Loading to Rows swap dissolves through the shared Xfade, as the Library's page_fade and Collections' grid_fade do, with the shelves dormant while it arrives.
- BACK onto a Recommended page no longer holds the image ~30 frames and snaps the card. In the shared Shelf, a dormant tick under a held page image cuts the row to rest at once (new CardRow::snap_to_rest, the unconditional twin of park), as Grid::dormant does; on a page in view it still eases (Home's dive).
- HoldHint's fade and rise springs step inside idle::decorative for every caller: page motion that wakes the present gate, not layout motion that holds a page image.
- Prose: cards/mod.rs's pop rule, and the Library's grid field and FocusMoved comments, now say a page returning dormant regrows its focused card from rest (the Library comments said it lands as it was left since #843).

Tests read the drawn frames and were each seen failing first: the app-tier rig (warm release within 2 frames of the dissolve's end, was 32; the card below 1.05 on the release frame then growing; the cold heading dissolving in; BACK from a Detail released within 2 frames, was 30, the card at rest under the image), cards/tests.rs (a dormant shelf under a held image parks on its first tick; mid-ease jumps to rest; a visible page still eases) and hold_hint.rs (its fade is not layout motion). make check, test-hostsim (982/0), check-nodef and check-replay (6 replays SAME, no anchor re-recorded) pass on the committed tree.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
tiper added a commit to tiper/fin-native that referenced this pull request Oct 24, 2026
…he row below stays put

The stack lets the Library go while a Detail is over it, and BACK rebuilds the
page from its memory and enters it. Since plxnative#843 that entry held the grid at rest
under the dip's image: the focused card dropped its lift and shut its caption
band, then grew both again, so the row under it moved 40 px and eased back (a
bounce). A page restored from its memory is a return: the grid is not held, and
the card comes back lifted with its caption open, as it was left. A page entered
from Home still grows its first card in.

The grid also still slept from the dip that held the image over the Detail, so
the page's first frame (the one the dip captures as its image) drew the card at
rest and it selected when the image went. The restore wakes the grid, and the
page stays a return until the image has been held and let go.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
tiper added a commit to tiper/fin-native that referenced this pull request Oct 25, 2026
…he row below stays put

The stack lets the Library go while a Detail is over it, and BACK rebuilds the
page from its memory and enters it. Since plxnative#843 that entry held the grid at rest
under the dip's image: the focused card dropped its lift and shut its caption
band, then grew both again, so the row under it moved 40 px and eased back (a
bounce). A page restored from its memory is a return: the grid is not held, and
the card comes back lifted with its caption open, as it was left. A page entered
from Home still grows its first card in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
tiper added a commit to tiper/fin-native that referenced this pull request Oct 26, 2026
…he row below stays put

The stack lets the Library go while a Detail is over it, and BACK rebuilds the
page from its memory and enters it. Since plxnative#843 that entry held the grid at rest
under the dip's image: the focused card dropped its lift and shut its caption
band, then grew both again, so the row under it moved 40 px and eased back (a
bounce). A page restored from its memory is a return: the grid is not held, and
the card comes back lifted with its caption open, as it was left. A page entered
from Home still grows its first card in.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21 pushed a commit that referenced this pull request Oct 29, 2026
…he row below stays put (#958)

The stack lets the Library go while a Detail is over it, and BACK rebuilds the page from its memory and enters it. Since #843 that entry put the grid to rest under the route dip's held image: the focused card dropped its lift and shut its caption band, then grew both again, so the row under it moved 40 px and eased back (a bounce).

A cards::Grid fed Enter(Restored) now keeps its seat, with the card lifted and its caption open. The return ends on the first awake tick, on the first deliberate move, or when focus leaves the grid's cards; after that the grid sleeps under the image as before. Landings under the image are adopted whole, and GridBands::shut closes a band an earlier animated move left springing. A page entered from Home, and the shelves, still grow in.

The rule lives in the shared Grid, so the Library screen carries no restored or held flags of its own. The World rig gains a DipImage that holds the dip's page image, and the back-lift, push-capture, collections-arrival and Recommended-enter tests run on it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01P6ZnFeGA7CweKvne8tknaa
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