Repository navigation
Captions: Under posters applies to every poster tile, a caption line shows only once its room is there, and Home rests like the Library - #859
Merged
Conversation
…lves The setting claimed to caption "the same policy the shelves and the Library read" but only the Library grid, the Watchlist and the Collections page did; Home and Recommended built their labels by hand (title, year or time left) and reserved the legacy 114 px band. One reader and one builder now serve every poster shelf (registry::captions: policy(), the one test override, label(), shelf_label()). A tile that carries a state keeps it: the Continue Watching deck's time left is its details line under every details kind but Nothing, the amber play mark leads its title while OK plays and the title shows, and the Watchlist's state sentence rides the same rule. An episode on a poster shelf says its address as the default details line. Shelf and CardRow take an optional policy (None keeps the legacy band for Search, Person and Detail); Home's settled layout, reveal band, scroll end and group extent, and Recommended's row pitch, read band_h of the same policy. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…and the cases that do not The audit of the previous commit found sentences it had made false. "Every poster shelf" read the one policy, but Search, the person page and Detail's Related and Extras shelves keep the legacy band, and the Collection screen's members use their own wording; the legacy band's doc, the focused-caption doc, the ROW_PITCH doc and the band-travel doc still described Home as a legacy-band shelf. "No band opens" under Details set to Nothing is true only with the Title switch Off. The amber play mark leads the title line, so a poster deck that plays on OK draws no mark while the Title switch is Off, which the play-indicator rule in the ui guide and the live scenario now say. Prose only. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…to Home A real server's Recently Added TV holds seasons, each named for its show by parentTitle, and the generated and demo mocks only served episodes and shows there, so the simulator could not show how Home captions a season tile. The flag (off by default, the default response is unchanged) inserts a "Recently Added Seasons" shelf after Continue Watching, paged through its own key like the other synthetic shelves. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…a season or any other kind The owner saw Home's "Recently Added TV" shelf, which holds SEASON items, focus a tile and draw no caption although a one-line Under posters setting was on. A season has no length and often no year, genre or rating, so the picked details kind had nothing to say and the line came out empty under an 80 px band that had opened for it; and with Title On the tile read the season's own "Season 6" instead of the show a reader knows it by. One rule now serves every kind on every policy-driven shelf (caption_lines, fed by tile_facts::caption_facts): the title line is the name a reader knows the tile by (a season by its SHOW, as Plex's own clients caption it, an episode by its own title, a show or movie by its title), and a details kind the tile has no facts for says its identity line instead: a season "Season 6" (its own title, else "Season N"), an episode "S1 . E8", a show or movie its year, a collection its size. Nothing still shows no details line, and the Continue Watching state rules are unchanged. The Library grid's season special case (title "Season 3" over the show, policy ignored) is gone, so a season there reads like one on Home; the Settings picker's samples follow the preview, so a kind the sample poster has no facts for samples its year. The route test on the app-tier World rig grades the focused tile's caption lines for a season (bare, rich, self-titled), a show, an episode and a movie under every Title switch and details picker; it failed on the old builder with ["Season 6"] where ["The Office", "Season 6"] is owed. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…, whatever the Under posters band Home rested a focused shelf by the NEAREST scroll that showed its caption band open (ui_cards::reveal between row_reveal_band's lo and the shelf's top). Down came to rest at lo, which sits caption_reach(band_h) short of the bottom margin, so the focused row's y followed the Under posters band (531 / 563 / 603 for 112 / 80 / 0) and the heading of the shelf above rested at 22 / 54 / 94: under the account chip at the two smaller bands (the owner's TV screenshot, FRAMES-8 item 5). Up rested at the shelf's top instead, so the rest also depended on the direction of the last move. Home now rests the focused shelf with the Library's rule (poster_grid::rest_scroll through ui_cards::grid_rest_scroll): row 0 at 0, any other shelf with its top at GRID_TOP_Y, the document end holding the last shelves lower. The focused heading rests at y 160 for every band and either direction, and the shelf above has scrolled off. A heading that rides the page under the chrome while it scrolls now fades by where it stands. The spatial half of scroll_chrome::Handoff (clearance: 0 at or above the chrome's bottom edge, 1 an 18 px ramp below it) is exported as clearance_under_shown_chrome for a page that keeps its chrome shown; Home owns no Handoff and does not tuck its nav, and draws each heading at that alpha. Docs that named who owns a Handoff say so. Tests: two app-tier World route tests (home_chrome_route_tests) over six seeded shelves, red against the old anchor and green now: every drawn heading is clear of the chip rect and the chrome band with focus on the 2nd and 3rd shelf under 112 / 80 / 0 and the focused heading rests at one y across the three; and no heading ink over the chip beyond the proven bound while the page scrolls. World::drawn() now returns the drawn text runs with their alpha (Painter::text notes the run while a host draw discovers). The Home screen tests that pinned the old clamp are rewritten for the rest rule and a unit test pins the shared clearance rule. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d headshots are not on it The ux scenario and the screens and ui guides name who reads the setting now: Home, the Library, Recommended, Search's poster rows, the person page's filmography, Detail's Related and collection shelves and the Collection screen's members, all through the one builder in registry/captions.rs. Landscape tiles (episode stills, Extras, Recommended's landscape rows) and headshots (Cast, Person results) keep their own block under every setting. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… shelves and the Collection screen Search's movie, show and collection rows, the person page's filmography, Detail's Related and collection shelves and the Collection screen's member grid now word their focused caption through the one builder in registry/captions.rs and size the band with caption_policy::band_h, as Home, the Library and Recommended do. The stack hands the page's policy to its grids and shelves, Detail sets it on the shelves it owns, and the settled height of a policy shelf uses its own band. Person results, the landscape Episode row, Extras, Cast and Recommended's landscape rows are not posters and keep their block under every setting. A filmography poster's character is the tile's own state and replaces the details line under every setting but Nothing. A friend's server handle is credited after the details line. The Collection screen's members no longer use poster_label (removed); an episode member reads the title over its S/E numbering. Two gaps in the shared builder are closed there and not per tile: a tile with no picked fact and no identity line now ends on the kind word (Movie, Show, Collection), so a line the setting turns on is never drawn empty and no band opens over nothing, and the rows below do not jump as focus moves along a row. Route tests on the app-tier World rig grade the drawn text of Search, the filmography, Detail's Related shelf and the Collection screen under Title On + Genre, Title Off + Year/Length and Nothing. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…a poster row Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
# Conflicts: # rust-modules/src/app/bridge.rs
…posters says A grid of landscape stills is not on the Under posters policy: its two-line block (title, release date) is drawn under every setting, so the band it reserves has to be the legacy one the label needs. The grid took the setting's band instead, which under the default (Title Off + Year / Length) left the next row's stills starting 9 px inside the date line and, under Nothing, covered the whole block. Grid and GridBands now take an Option<CaptionPolicy>: None is the legacy band, and the Episodes listing hands None. The band is graded at the app tier: the drawn caption of a focused still clears the next row's tiles under every setting (Title On/Off x five details kinds), and the Library grid opens exactly the band its setting asks for (72 / 40 / 0 px of growth). The recording painter's discovery walk now notes a run that dissolves at its edges, so a gliding caption is read like any other drawn word. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…pisode address, tests that read what is drawn
One rule for a collection on every surface: the Title switch governs its title line, the details
line is its size ("7 films") under every details kind but Nothing, and a name its face cuts rides
the details line ("Name · 7 films") when the title line is off, since the face is the only other
place it is told. The cut-name fact (CaptionFacts::name_cut, tile_facts::face_cuts_name) is honoured
by the one builder, so the Collections page's own band policy and transform are gone.
A line the setting turns on is never drawn empty, for every kind: an episode with no number or year
reads "Episode", an untitled season numbered 0 reads "Specials" (new catalog keys browse.kind.episode
and browse.detail.specials in all eight locales), a season's identity beats its year under
Year / Length, and "N new episodes" is for a show in progress only (something watched and something
left), a never-opened show reading "Year · N seasons".
The episode address is spelt one way app-wide, with the middle dot the designs set: the caption
reads fmt::episode_address like the art's mark, and the caption's own catalog keys
(widgets.card.season_episode, widgets.card.episode) are gone from all locales. A Collection screen
episode, whose poster already wears that mark, names its show instead of repeating the address.
The landscape episode label (the Library Episodes grid, Recommended's landscape rows) is one builder,
captions::still_label, and a tile with no title or details draws no empty line (Recommended's empty
hub, Detail's extras). The Under posters preview is built by captions::label like the screens it
previews.
Tests read what the frame draws: Drawn::caption_lines is the shadowed caption block itself, so a
stray line fails, Nothing included. The route tests drop their word lists, the Library tests read
the drawn grid instead of asking the label builder (probe_caption is gone), and the tables gain
Video and Age / Score pickers, an unnumbered episode and an untitled season.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…he comments that said 92 Comment-only. LEGACY_BAND_H = UNDER_LABEL_H (92) + UNDER_LABEL_AIR (22) = 114; the Grid/GridBands/stack docs and still_label named the block's height as the band's. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s setting opens The Library had an app-tier band test; the shelf surfaces had none. Each now reads the frame it draws: the pitch between the focused shelf's heading and the next heading grows over the closed band (Title Off + Nothing) by what the layout documents for 112 / 80 / 0 px (72 / 40 / 0), and no caption run ends under the next heading. A shelf whose band ignores the policy fails all three. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…udit N5) The Watchlist's details line knew only the row's title, year and kind, so Genre, Video and Age rating read the year under every pick and a movie with no year read "Movie". The guid lookup's row already carries the rest. `Metadata::listing_facts` lifts the caption facts off the wire once (the catalog row's `fill_caption_facts` now reads the same rule), `GuidMatch` carries them, the match table keeps them with the held copy (`Asked::Held`), `WatchlistView::listing` answers for the copy a press opens, the app feed hands them to the page in `MatchedFacts::listing`, and `watchlist::caption::label` words them through the one shared caption policy. Tests: caption_tests (a movie under all four picks, a show's seasons and new episodes, a copy with no such fact, the state sentence still replacing them), the app-tier chain through the store and the feed (watchlist_press_tests), the store's copy choice, and the wire extraction in plex. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Home's focused caption is now the shared caption policy's, so under the default setting it measures
the year and the length ("1992 · 1h 40m") where it measured the year alone, and the recording the
committed anchor was taken from took measurements the new tree no longer asks for. The owner chose a
general year · length pattern over the one literal (2026-10-20): ALPHABET.json gains
`[0-9]{4} · ([0-9]+h )?[0-9]+m`, sourced to year_length, the duration catalog keys and tests/mock_pms.py's
year and length draws. Only 1-boot-home-chip-grid/rec-0000.jsonl is replaced (its manifest already
equals the new recorder's header); the other two anchors replay SAME on the new tree.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d the drawn result S1: the amber play mark leads the first line drawn whenever OK plays the deck card (the title when Title is on, else the state line); under Nothing no line and no mark. The title centres as if the mark were not there. ui/CLAUDE.md states the rule again. S2: a season whose art prints "SEASON 3" gets address_on_art, so its details fallback names the show, else nothing. S3: docs/watchlist.md and watchlist/caption.rs say what a matched title reads. S4: the Stack shelf and grid paths, Search, the filmography, the Collection screen, the Collections page, the Watchlist and Detail's collection shelf each have an app-tier band test that reads the drawn frame; caption_lines() reads the label census, so a stray unshadowed line under Nothing fails. S5: the dead non-deck half of card_row::focused_caption is gone (cw_caption). S6: Home's pointer reach follows the full-shelf rest rule, so a Magic Remote user reaches every shelf; an app-tier test moves the pointer from shelf 3 to 2. Nits: unused caption_reach removed; one shared landscape still label (registry::captions::still_label / still_block) for Search's Episode row, the Library Episodes listing, Recommended and Extras; stale home-legacy ledger row; browse.detail.specials description; over-chip heading alpha asserted ~0; the heading fade is judged at the drawn (lifted) place. A pixel test shows Home, Collections and the Watchlist draw the focused title in one ink. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The under-poster caption falls back on a year, a length, a genre, a season number and an episode number the server may not send, and on the collection's full name when its face cuts it; no generated item lacks any of them. The flag adds, from their own random stream and at fixed ids from 980001: a movie with no year, a movie with no year, length or genre, a show with no year and no seasons, a show whose season 0 has no title, an episode with no number, and two collections (a fan and a neutral tile) named by five words. Numberless episodes and unyeared items no longer break the mock's own sorts. Default data is unchanged (a test compares item by item) and the flag is refused with --catalog. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
A sim reaches them without walking the library. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…words, so its tile cuts the name Five words fit the neutral tile whole; fourteen end in an ellipsis, which is the case the focused caption carries the name for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d season is drawn on Home
Home's "Recently Added Seasons" did not draw a season 0 the server gave no title (the mock's
--caption-edge-cases serves one): the shelf's projection dropped any hub row with an empty title,
and a season's own title is exactly the field a server leaves empty for Specials. The same
"title and a poster" predicate was copied into four places (Home's shelf_card, the Library's
Recommended parse_window and the sliding window's two reads); they now share one, pms::shelf_card,
which asks for a listable type and a poster and no title, because a caption names a tile by what
it is when the server named it nothing ("Specials", "Season N", "Episode").
Tests: a data test that the untitled season survives every hub path, and an app-tier World test
that builds Home from a /hubs answer (new seed_hubs_response_for_test, which runs the real
projection; the hand-built edit_test_item tiles could never see a dropped row) and focuses the
untitled season's poster, which reads "Specials". Both failed against the old predicate.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…d by their identity, not by a zero
Two predate the caption work and neither is a poster caption. Detail's season tab built its own
label ("Season N" from the index when the title was empty), so a season 0 the server gave no title
read "Season 0" while the same season's caption said "Specials". The label rule now lives once, in
fmt::season_identity (own title, else "Season N", else "Specials"), and both the caption policy and
the tab read it.
The episode card's kicker was catalog "EPISODE {number}" fed ep.index unguarded, so an unnumbered
episode read "EPISODE 0". The same zero was printed by fmt::episode_ordinal ("S1, E0"), which the
transport HUD, the Up Next card, the pre-roll context line and the hero blurb all spell. The
ordinal now says only the parts the server numbered ("S1, E3", "E3", "S1", or nothing), the lines
built on it leave an empty part out (episode_kicker, a new episode_context for the two hand-built
"show · address" pre-roll lines), and the card's kicker for an unnumbered episode is the kind word
in the same capitals ("EPISODE"; the aired date is the card's own bottom row, so the kicker does
not repeat it). The landscape still label, the Collection screen mark and the Home hero already
print an empty address as nothing and are unchanged.
Tests: a unit test on the formatters across every shipped language, the episode card drawn on a
recording painter, and an app-tier World test that opens a Detail page and reads the drawn tab and
cards; the last two failed ("Season 0", "EPISODE 0") against the old rules.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Main's Home work made a key press cost the rows it touches: key tables update in place (registry::Compaction), the catalog sync keeps a row whole while its cards are the very same cards, and the hold band has hysteresis (ui::cards::HoldBand over plx_base::hold::clamp_hold). This branch words every poster's caption from the Under posters setting (registry::captions), rests the focused shelf at the Library's line, and makes an untitled item a card (one pms::shelf_card). The one textual conflict was ui/src/cards/tests.rs, where both sides appended tests after the same test; both sets are kept. Everything else merged cleanly and is compatible by construction: a caption is worded at the draw from the card the published row holds now (HomeCards::item reads the view, not the projection) and from the setting, so no caption input lives in the projection the sync keeps. A caption FACT that changes is a new card (the projection holds an Arc of each card, so an edit can never alias it), which projects its own row again; the setting is a layout input, not a publication. #858's released-row merge patch overwrites already-projected shelves with the placeholder slot, so it does not read shelf_card's predicate: an untitled card is a card on both paths. New test: a_caption_input_that_changes_under_a_kept_row_reaches_the_drawn_block. A fact changed on one card re-projects that row only (the element-map writes equal one row's cards) and the block it words is the new fact's; the setting changes the block and every shelf's band with no sync. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Both sides re-recorded the 1-boot-home-chip-grid anchor (the Under posters captions on this branch, a released card's spring landing exactly at rest on main), so neither recording matched the merged code. The branch's recording replayed against the merged tree diverged on 13 frames (382-394), the tail of the Home card spring release, with every other counter zero; the same recording replayed SAME with Spring::land made a no-op, so the card landing is the whole divergence. The anchor was recorded once afresh on the merged tree (tests/focusfp.sh --rec --only 1) and only its rec-0000.jsonl replaced; the README keeps both sides' paragraphs and gains one for the single re-record. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…changed under a kept Home, held-Right glide with the headings, released posters at rest) a_setting_changed_under_a_kept_home_reaches_the_card_after_back, a_held_right_along_a_home_shelf_glides_the_caption_without_a_heading_over_the_chip and a_released_poster_is_captioned_at_rest_after_a_held_walk, on the World rig. Test-support accessors (HomeScreen/RecommendedScreen::probe_card_pops, World::card_pops) match crx-routes2-tests. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… its box, for the grid and the shelf alike The grid faded a caption by its band's own progress (band_fade(e) = e) while its next row's tiles are carried down on the same spring, so the focused block stood half-faint at its fixed offset with the next row on top of it, and the departing block slid under the rising row. TileLabel now carries the band it hangs in (band_h, e) instead of an alpha, and each line is drawn at line_reveal_for: zero until room_for(band_h, e) reaches the line's box, smoothstepped over LINE_REVEAL_RAMP px, never past the band's expansion. The title of a two-line block therefore comes in before the details line and goes out after it. band_fade, band_reveal and band_reveal_for are gone: one rule. The Grid ghost no longer applies the alpha twice. A narrow test probe (Grid::caption_lines_probe) reads every drawn line's box; the walk of Down, Down, Up at the 112 and 80 px bands failed against the old rule (32.9 px and 9.4 px under the next row's rest cell at alpha >= .25; 52.0 and 20.0 px in the faint tail). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… (grid tile pop, next shelf's heading lift) The reveal rule measured the room to the tile below at rest. The tile below a departing caption is the newly focused card popping up to 17 px over its cell, and tiles are drawn over captions, so the departing title was cut under it (2.5 / 7.5 / 11.8 px at frames 9 / 10 / 11 at the 112 px band, 8.5 px at 80). room_for / line_reveal_for / TileLabel::revealed now take the rise of what is directly below the band (BandOpen::rise): the grid supplies the drawn top of the tile under each card (its live pop, press and landing slide, the same rect place(At::Drawn) answers), every shelf owner supplies the next shelf's heading lift (SectionFrame::below_rise: Home, Stack, Recommended, Detail). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…probe, two-shelf walk, band 0 and 114), lines() is the one source of line geometry Shelf::caption_lines_probe reads the label the focused card is drawn with (focused_label), so a host test runs the real shelf decision mid-move against the next shelf's DRAWN heading and focused card at 112 and 80 and the stored default (title off, Year/Length, band 80); without the owner's below_rise a line reaches 8.2 px under the lifted heading. The band-0 case asserts nothing is drawn, the legacy 114 case asserts its reveal, the overlap walk asserts it saw lines, the Down hand-over requires the arriving caption to appear, and the default policy's arriving line is monotone through a Down and an Up. draw_label_block takes each line's y from LineBox::top; prose follows. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…shelf that draws, and the Person page stacks its shelves Correctness. `Stack::frame` handed a shelf the lift of the NEXT SECTION's heading, so a shelf above an empty shelf (a section that takes no room) was told 0 while the shelf drawn under its caption is the one after it, and the Person page, which put a `Custom` gap section between its filmography shelves, told every shelf 0 while the heading under it rose by its lift (a Movies caption ended 6.2 px below the Shows heading at the 112 px band). `Stack::frame` now reads the first following section that takes room, and the Person page carries the air under a shelf as `shelf_foot` (Search's idiom) with no gap section between two shelves; the last shelf keeps no foot, so the page's geometry (its end, the reveal of the first shelf) is the one it had. `StackPage::shelf_foot` takes `cx` so a page can say which shelf is last from the same content its sections read. Both tests were red first: a Stack of shelf, empty shelf, shelf (7.6 px) and the real Person page (6.2 px). Simplification (four review reports): - Home's `below_rise` is `Grid::lift(row + 1)`; Detail's `band_open` and `below_rise` share `shelf_of`; `tile_paint_bounds` uses `unscaled_bottom`; `TileLabel` derives `Default`; `Stack::frame` matches bodies only; `rise_below` drops the `.max(0.0)` that `room_for` already applies; `LINE_REVEAL_RAMP` is private; `draw_label` computes `lines()` once and `draw_label_block` filters both lines the same way; `card_paint` calls `revealed` once. - Tests: `BOTH_LINES` / `TITLE_ONLY` consts, one `captioned_grid` bootstrap, one overlap helper looped over the three policies, `r.place`, one `title_alpha`, the redundant assert gone, the both-lines loop folded into the main one, the walk's `start` loop fixed, `ShelfWalk::lines` derived, `SHELF_AT.y`, `shape_captions(Option<CaptionPolicy>)`, narration of removed rules dropped. - Left alone: drawn_rect's focus/pressed parameters (a few lookups per frame, `place` already did both), computing `below_rise` only on the draw paths (five owners build frames at four call sites each; a second constructor per owner could pass a stale caption for tens of ns), the probe iterator / `LineBox::below` / `SectionFrame::with_below_rise` / `SectionFrame::above`, and the smoothstep dedupe. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…every owner, and a Stack refuses a shelf that keeps less above another shelf `card_row::room_for` counts UNDER_LABEL_AIR + the band under a card, so it assumes the next shelf's heading (or the next grid row's tile) rests that far down. Every owner of a shelf or grid keeps exactly that air (Home: `ROW_PITCH_FIXED + under_band`; the Library's Recommended shelves: `shelf_pitch`; Search: `shelf_foot` and `layout::caption_band`; the person page: `shelf_foot` / `SHELF_GAP`; Detail: `section_gap` 3/4/6/7, the cast row more; the grids: `Geom::pitch`), so the rule overstates the room nowhere today; the only place less could come from is `StackPage::shelf_foot`'s default of 0, which is meant for a page's last shelf. Pins, so a page that changes its air breaks loudly: - `the_rules_room_is_the_gap_the_shared_pitch_keeps_under_a_card` (ui): the rule's room is the shared pitch's gap at every band and expansion, and the grid keeps the same air. - `shelf_pitch_keeps_the_shared_air` (Library shelves) and `a_shelf_is_followed_by_the_shared_air` (Detail's Related, Extras, collection, cast); the person page's and Search's existing pitch tests cover those two. - `Stack::frame` debug-asserts that a shelf with another shelf below it keeps at least UNDER_LABEL_AIR (`a_shelf_keeping_less_air_than_the_caption_rule_counts_is_refused`, red first: "test did not panic"). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
#866 per-card grid let-gos) into crx-grid-reveal Both sides' behaviour is kept in every conflict: - ui/poster_grid.rs: the branch's title-handover test next to main's GridBands canon test and the `at` helper (#866). - ui/cards/grid.rs: #866's `self.pop.reset()` where the branch's side built a fresh GridPop, with the branch's band comment. - ui/cards/tests.rs: the branch's title_only/details_only Cards fields beside #866's elem_calls counter. - screens home/recommended `probe_card_pops`: main's (#864) versions; the branch's copies came from an earlier draft. - app/bridge_test_support.rs: main's sole_card_off_rest / home_focused_item / home_card next to the branch's `poster_cell`, and `card_pops` stays `pub(super)` because the Under posters shelf route test reads it. The semantic join: `Grid::rise_below` (the drawn top of the tile below a caption line) reads that tile through `drawn_rect`, which now takes the pass's `LetGoCards` and goes through `pop_in`, the one resolution the draw paints with after #866. A released card still shrinking below a caption (a let-go) is therefore drawn above its rest top in the caption's rule too, by element when the source moved since the last tick, and `card_paint` / `rise_below` / `drawn_rect` share the pass's single `let_go_cards` answer (the frame's hash budget, `grid_draw_hashes_no_drawn_card_while_cards_let_go`, is unchanged). New test `no_caption_line_is_drawn_where_a_tile_letting_go_below_it_is`: a held Down then a held Up (a press every three frames), every caption line against the live drawn top of the tile directly below it, with a check that the walk really leaves a let-go under a line. Watched red with `rise_below` reading the tile below with the let-gos left out (worst overlap 7.8 px), green on the join. Replay fixtures: main's are the base (the three anchors as #866 re-recorded them) and the README keeps both sides' paragraphs in order. The anchors are re-anchored on this merged tree in the next commit. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…rn once on the merged tree The merge of origin/main (#863, #864, #866) into crx-grid-reveal kept main's fixtures as the base. On the merged tree `make check-replay` found 6-settings-family SAME (frames=1321, diverged=0, every counter zero, Targets and Resolve) and two anchors that no longer match, with the shape unchanged (state_fp 2896094977091175041, so `rerecord` refuses): - 12-filmography-detail-return: DIVERGED in both modes, diverged=884 of 923, present/input/result/ land/effect/focus/hit diffs all 0 (a pure state-hash divergence, no visible counter). Attributed by replaying the committed anchor against the merged tree with only person.rs put back to origin/main's (filmography labels through the one caption policy, the air under a shelf as StackPage::shelf_foot instead of Sec::Gap(kind)): SAME, diverged=0, every counter 0, Targets and Resolve. The fresh recording holds the same 136 metrics (text measurement) queries as the old one. - 1-boot-home-chip-grid: diverged from frame 296, then REFUSED (replay measurement table miss) in both modes, because main's recording predates the Under posters captions this branch carries. Attributed from the measurements themselves: the metrics records of the fresh recording differ from the committed one by exactly one gained Width query (Home's focused poster caption "1992 . 1h 40m", 24 px) and three lost (the year alone and the two synthetic title names). The owner approved re-anchoring for intended UI changes (README 2026-09-29/30 entries; the standing instruction not to stall on it). Both anchors were recorded afresh on this merged, committed-source tree (tests/focusfp.sh --rec --only 1,12), passed `plxnative-rec check` (synthetic) against the unchanged alphabet, and only rec-0000.jsonl was replaced; the manifests (anchor flag included) are byte for byte the committed ones and equal the new recorder's header. README paragraph added. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.
The owner, after trying the Collections redesign (#843) on the TV: "our settings of lines under tiles do not apply elsewhere but libraries. It should be in Home as well and recommendations." Then: "Seasons tiles left without title while we have 1 line enabled", "Search does not follow new tiles rule", and a screenshot of the account chip drawn over a Home shelf heading.
What changes for a user
Settings > Libraries > Under posters is global. Every poster tile reads it through one builder,
screens/src/registry/captions.rs: Title on/off, then details Year · Length / Genre / Video / Age rating · score / None. That covers:Landscape stills and headshots keep their own fixed labels. There is now one shared still label for Search's Episode row, the Library's Episodes listing, Recommended's landscape rows and Extras.
A line the setting turns on is never drawn empty. Each kind falls back to an identity:
No band opens over nothing. The band is
band_hof the lines shown.Special cases:
Home's rest rule is the Library's (
poster_grid::rest_scrollviaui_cards::grid_rest_scroll). The focused shelf's heading rests at the same place whatever the band or direction, clear of the account chip; that was the owner's screenshot. Headings riding under the chrome fade (scroll_chrome::clearance_under_shown_chrome). Every Down/Up moves a full shelf, and a pointer reaches the shelves either side of the resting one. Home's nav does not tuck.A caption line is on screen only once the room under its card holds it, on the grid and on every shelf alike. One rule in
card_row.rsreplaces the two the grid and the shelves had:room_forandline_reveal_forgive a line, title first, then details;Grid::rise_below, with Cards: every released grid card lands on its own spring, so a held key no longer snaps the card it left #866's per-card let-go scales), or the next shelf's lifted heading (SectionFrame::below_rise, supplied by Home, Stack (Search, Collection, Person), Recommended and Detail).Before, the Library grid's caption faded with the band (
band_fade), so the next row's tile cut it while Down opened the band. That defect had been on main since Library: Collections redesign (header row, Collections and Recommended pages, Under posters, scroll chrome) #843, and the Collection screen and Watchlist had the same cut ("Coming 12 Mar").band_fade,band_revealandband_reveal_forare gone. The Person page now carries its shelf air the way Search does (shelf_foot, no gap section between shelves), so its captions see the next heading. Every owner keeps exactlyUNDER_LABEL_AIRunder a shelf, and a Stack refuses a shelf that keeps less.Fixed along the way:
pms::shelf_cardreplaces four copies of a title-and-poster filter.Verification
Route and UI tests on the app-tier World rig, each observed failing first:
Spring::landa no-op).The tests read the drawn frame, not helper return values.
Gates on the committed tree (head 48c8751 = this branch + main through Cards: every released grid card lands on its own spring, so a held key no longer snaps the card it left #866,
git status --shortempty before and after):make checkexit 0: everytest result:ok (largestok. 1840 passed; 0 failed; plx_screens1641 passed, plx_ui1305 passed).make test-hostsimok. 969 passed; 0 failed.make check-nodefclean.make check-replay3 fixtures, 6 replays, 0 failures, every replay SAME, on three consecutive runs.12-filmography-detail-return: main's fixture replays SAME with onlyperson.rsswitched back. The Person page is pixel-identical outside the caption box on 4,350 frames.1-boot-home-chip-grid: main's recording predates the captions. Its input, focus, presented and landing streams match, and the text-measurement records differ by exactly the caption.[0-9]{4} · ([0-9]+h )?[0-9]+m.Simulator, mock only, frame by frame with every frame kept:
A matrix of every poster surface × kind × all 10 settings: all PASS.
Belarusian: the new strings were checked against skarnik.by and verbum.by.
Reviews:
TV (release build, 60 Hz, panel on, muted, mock only):
home-grid58–60,home-fold59,home-hero60;home-grid-deep60 fps with no late frame from a key press,home-grid60,library-scroll60,library-recommended60,collection-pageidle,home-fold60,home-hero60,library-collections60,library-switchlive;library-shelves-deep60,library-recommended60,home-grid60,library-scroll60;home-recent-paging-heldloop median 58 (robust_min 51), 1.2% of frames over 33 ms;library-shelf-paging-held-3g60, 0.4% over 33 ms.home-grid-deepdid not run on this head: its 170-shelf mock did not answer within 120 s while the Mac was under heavy build load, so it is owed to the next TV window.No Makefile, Cargo, build.rs, workflow or module-layout change, so there is no build-bench table.
Owner look
The owner looked at it on the TV and approved it: "I like it". The look build was e840f60f, which is 95a28c8: this branch with the per-line reveal, before the simplify pass, the Person spacing change and the main merge. Two Home bugs the owner saw there, a jump on the first Down after BACK and shelves drawn at their first card at the hero, reproduce on main, so they are fixed in a follow-up PR.
🤖 Generated with Claude Code