Skip to content

Settings: Under posters takes composable details and the two-poster preview - #1269

Merged
GLinnik21 merged 7 commits into
mainfrom
settings-under-posters-v3
Nov 7, 2026
Merged

GLinnik21 merged 7 commits into
mainfrom
settings-under-posters-v3

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

Summary

Under posters takes the owner's updated design: the details under a poster are composed, not picked from a ladder.

  • Details are a set per kind, up to four parts in a fixed order. Movie: Year, Length, Genre, Video quality, Age rating, Score. TV show: Year, Seasons, Genre, Age rating, Score. Defaults are Year · Length and Year · Seasons.
  • The two pickers are tick-lists under "Show under posters". OK ticks or unticks and stays on the page. With four ticked the rest are disabled (the shared disabled state), and the sentence says why.
  • The preview shows both posters on the Settings root, the Under posters page and both pickers, under MOVIE and TV SHOW captions, over the lines the setting gives each kind. The kind that is not focused is dimmed to the mockup's 0.45 (plx_ui::follow_copy::DIM, ColumnDims), on the existing spring. A details line is one line and ends in an ellipsis when it is wider than its tile.
  • Every poster surface follows through plx_ui::caption_policy / registry::captions. "Coming 12 Mar", "Not on your servers" and "Server offline" now show under an empty set, as the design says (they were dropped under Nothing before); the Watchlist reserves its band for them (80 px, 112 px with Title on).
  • Row values read the ticked names, "Nothing", or a count ("3 details") once the names would not fit a row (NAMES_BUDGET_CHARS): the stricter fit test found 298 overflows in nine locales.
  • Storage: plx_base::detail_parts holds the shared type (ui and plex are siblings). Packed and LiveCell widen from u8 to u16. The old ladder values migrate (year_length to {Year, Length} / {Year, Seasons}, genre to {Genre}, video to {Video quality} / {Year, Seasons}, age_rating_score to {Age rating, Score}, none to {}), and writes keep the nearest old rung so an older build reads something sensible until it saves the record.
  • Sentences follow the design in all 12 locales.

No issue exists for this work, so there is no Closes line.

Verification

  • make check: 126 steps, all ok, on the committed tree. make check-replay: 3 fixtures, 6 replays, 0 failures, no fixture re-recorded. make check-nodef, ci/check-localization.py: passed.
  • plx_screens 2070, plx_ui 1553, plx_plex 774, plx_media 2119 (+84 ignored), app crate 1190, hostsim app 1337 and plx_media 2376: 0 failed.
  • pr-reviewer on the combined diff: no blockers or majors, five minors, all fixed. doc-claim-auditor: five contradictions, all fixed.
  • Simulator captures on the mock (no TV): root with Under posters focused, the page with each details row focused, the Movie picker with two and with four ticked, the TV show picker, Title on.
  • TV frame rate: see the comment below.

Open items

  • Non-English copy is unreviewed by a native speaker. Belarusian words were checked as lemmas on skarnik.by; the rest is machine-written.
  • The simulator's mock library has no show poster in the preview cache, so the TV show tile is an empty finished face in the captures.
  • A Watchlist focused tile over an available title with no status shows a blank second line under an empty set (the band is per setting, not per tile, so rows do not move as focus walks).
  • The focus-dependent dim uses the mockup's value, not the disabled state, on the owner's instruction.

🤖 Generated with Claude Code

GLinnik21 and others added 7 commits November 7, 2026 03:20
The single-choice Movie / TV show details ladder becomes a set of up to four
ticked parts per kind (movie: Year, Length, Genre, Video quality, Age rating,
Score; show: Year, Seasons, Genre, Age rating, Score), worded in a fixed order
and joined with a middle dot. Storage migrates the old ladder through a pure
function and still writes the nearest old rung beside the new keys for a
downgrade. The Under posters page and two pickers are rebuilt on the shared
Form/Row machinery, with a new preview slot showing a movie and a TV show tile
whose unfocused column dims to the design's 0.45. All 12 locales updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t-column sentences

The Watchlist's status sentences (Coming 12 Mar, Not on your servers, Server
offline) are the tile's own words, so they show with no detail part ticked and
the focused band opens for them (captions::label_with_states / status_policy).
Time left and collection size stay details-governed. The root and page
sentences now read as the design words them, in all 12 locales.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… prose, Row::disabled_state removed)

The fit test now walks every subset of up to four parts per kind in every
shipped locale; it found real overflows of the details-row and root values
(be, ca, de, es, fr, it, pl, pt, ru), so a row names its parts only while
the joined names fit NAMES_BUDGET_CHARS and reads a count otherwise.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@GLinnik21
GLinnik21 merged commit 97e4388 into main Nov 7, 2026
19 checks passed
@GLinnik21
GLinnik21 deleted the settings-under-posters-v3 branch November 7, 2026 02:13
GLinnik21 added a commit that referenced this pull request Nov 7, 2026
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