Skip to content

Settings: v2 anatomy and root (follow-focus sentence, 48 title, groups, Diagnostics page) - #1256

Merged
GLinnik21 merged 13 commits into
mainfrom
settings-v2-stage1
Nov 6, 2026
Merged

GLinnik21 merged 13 commits into
mainfrom
settings-v2-stage1

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

Summary

Stage 1 of the Settings v2 design ("Settings v2 · the proposal" boards): the shared anatomy plus the Settings root.

  • Left column follows focus. A row's sentence leaves the table and shows in a fixed spot under the title (26/34, up to 5 lines, cross-fade on the appear token). A row with no sentence shows the page sentence. New shared follow_copy.rs (FollowCopy, PictureSlot, PosterFan), opt-in through Header::with_follow / with_picture.
  • Route-page title is 48 bold (TitleStyle::Page, tracking -.02em, crumb hangs above the guide). Hero layouts (consent, login, filmography, Legal, onboarding) keep 72 and render pixel-identically.
  • Board table metrics (opt-in TableView::board_metrics): 26 px section break, caps header with tracking .06em (Label::tracking), 60 px rows.
  • Root groups: Libraries / Playback / System / Support, 13 rows -> 11. Diagnostics is one row (value Off/On) opening a new SettingsPage::Diagnostics that holds today's trace rows.
  • Picture slot (y 440) for Favorite libraries (poster fan, art only) and Under posters.
  • 3 new strings in all 12 locales; settings.privacy.section and settings.about.section removed. Several fit copy strings shortened in it/de/hu/ru so fit_report passes.

SCREEN_SHAPES is unchanged (replay fixtures untouched). No Makefile/Cargo changes, so no build-bench table.

Verification

  • make check 126/126 ok on the committed tree before the origin/main merge (disjoint files: media/plex/tools); make check-nodef clean; ARM release link ok.
  • Sim captures compared with the board renders (headless Chrome): within ~1 px except the differences below.
  • TV --fps (release build, Guest, panel off): settings, modal-ramp, legal-document, consent, decision-alert hold 60 fps. onboard-sources fails identically on the base commit (stuck on route=profiles); cause not determined.
  • Belarusian strings checked on skarnik.by / verbum.by: Падтрымка, дыягностыка, выключыць (exclude-from-list sense) confirmed.

Open items / differences from the boards

  • Draft copy from the board ("Remove Reference", second Favorite-libraries sentence, "Back discards your changes.") is used as given; flag for wording review.
  • The it/de/hu/ru fit copy written for this change has not had a native read.
  • Mixed 48/72 titles among root doors (Privacy, Legal, About, Favorite libraries still 72) until stages 2-4.
  • All-rows root scrolls 244 px; the board says "~300" (unexplained).
  • Tracked text is invisible to capture_text (Painter::text_tracked recording branch) - separate change.
  • Diagnostics "Save diagnostic log" reads "Off" before recording.
  • Not in this PR: Video & playback / Audio & subtitles regrouping, Under posters split, Privacy/Legal/About pages, HUD gallery, ghost-pill state, motion (stages 2-4).

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

🤖 Generated with Claude Code

GLinnik21 and others added 13 commits November 6, 2026 05:06
…Header can follow focus and hold a picture

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…entence, a picture slot and a Diagnostics page

Root groups are Libraries / Playback / System / Support; each row is a label and a value, a
switch or a chevron, and its sentence is said under the title while it has focus (a row with
none shows the page sentence). The trace rows move to Settings > Diagnostics.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…' own (TitleStyle::Page); every other route keeps its 72 title and a pushing crumb

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…box (title and sentence land where the board puts them)

TextView and Label gain letter-spacing (the Painter already had it); the narrative
flow of a TitleStyle::Page layout drops the title and the sentence by the CSS
half-leading plus ascent, so the 48 title measures x 98..279 and the left column
sits 7 px lower, as in the Sv2s-R1 board. Hero routes draw exactly as before.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…r no watched tick or resume bar)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
… pixel (26px section break, header caps in their CSS line and tracked .06em, chevron box on the content edge); every other table is unchanged

TableView::board_metrics is the per-table opt-in (like tall_rows); the Settings screens set it.
A menu and the Legal page capture pixel-identical before and after.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…e stage-1 change made stale

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…(all seven trace statuses on Diagnostics), tracked header width in fit_report; copy shortened where the board row no longer fit it

Real fit defects the board geometry exposed (chevron box + gap): it/de audio selection sentence, hu forced-subtitles value, ru Preferred audio language label, en/ca/hu/ru Under posters Details detail.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s, page opens on row 0's sentence, Under posters picture honours its slot, FollowCopy rationale and animation tests

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…est tests for the Diagnostics page, the root scroll and the picture clearance

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@GLinnik21
GLinnik21 merged commit ece36ea into main Nov 6, 2026
19 checks passed
@GLinnik21
GLinnik21 deleted the settings-v2-stage1 branch November 6, 2026 12:00
GLinnik21 added a commit that referenced this pull request Nov 6, 2026
binary_bytes limit 17,000,000 -> 18,750,000 (10% over the new measurement,
the same headroom policy); measured 17,041,608 on 2026-11-06 (main after
#1256 measured 16,988,384).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
GLinnik21 added a commit that referenced this pull request Nov 6, 2026
…rs split

## Summary

Stages 2-4 and the motion of the Settings v2 redesign (stage 1, #1256, is on `main`).

- **Video & playback** is three groups (Video / Player / Up next). Subtitle size and position moved to **Audio & subtitles**, now Audio / Subtitles / Look (same preference keys, no migration of stored values).
- **Under posters** has Movie details and TV show details (two pickers, the show picker has no Video quality) and the shared picture slot shows one movie and one show poster. The stored `details` value is kept as the movie value; the new `show_details` key is seeded from it (Video quality maps to Year · Seasons) and can never hold a movie-only value. The caption band follows the kind a grid lists (a Movies grid ignores the show line).
- **Privacy & data, Legal index and documents, About** take the follow-focus left column and the 48 title; "Back discards your changes." sits beside Done. The first-run consent question keeps its hero layout.
- **Player HUD pages** (gallery with the preview in the picture slot, package, empty gallery, offline sentence) and a shared **disabled control state** (`Row::disabled` / `FormSection::disabled`): a ghost pill, the reason as the row's value, inert OK / RIGHT / click. Every existing `FormSection::disabled` caller (in-player track menu locked rows, library switcher, read-only Preferences rows, Diagnostics while saving) now draws it too.
- **Motion**: Settings opens on the 70 + 140 ms dip; a push between Settings pages keeps the narrative column (crumb, title, sentence, picture slot, action band) still and only the list travels (k 200, .22 / .35 of the screen width); every Settings page holds its column except `HudPreview` and the first-run `ConsentStage`.
- The Settings replay recording is re-recorded (the pages draw text it never measured); `ALPHABET.json` gains the `Legal`, `Privacy` and `Privacy &` title words.

`SCREEN_SHAPES` is unchanged. No Makefile/Cargo changes, so no build-bench table. No issue exists for this work, so there is no `Closes` line.

## Verification

- `make check` 126/126 ok on the committed tree (before the re-record commit, which only touches fixtures); `make check-replay`: 3 fixtures, 6 replays, 0 failures after the re-record, three runs.
- `pr-reviewer` on the combined diff: 3 major + 2 minor findings, all fixed (disabled badge chip colours, HUD package page state sentence and a reason on a disabled Install, single-kind caption bands, disabled value ink, push-test title check). `doc-claim-auditor`: 4 stale passages corrected.
- TV fps (release build, Guest, panel off): see the comment below.

## Binary budget (`ci/build-budgets.json`, raised in this PR)

The CI cross-build measured `binary_bytes` 17,041,608 against the 17,000,000 limit; `main` after #1256 measured 16,988,384, so this PR adds **+53,224 bytes (+0.31%)**. The 17.0M limit was set on 2026-10-30 at 10% over a 15,451,784 measurement and the headroom was already down to 11.6 KB, consumed by earlier PRs. What this PR adds: the Under posters Movie/TV-show split and its migration, the Privacy & data / Legal / About restyle, the HUD pages and the shared disabled state, the entry dip and held-narrative push, and 30 new locale keys (6 removed) x 12 languages compiled into the binary. The strings are the part that cannot be smaller (each shipped language carries its own copy); the code is shared-layer code that replaced screen-local drawing. The limit moves to 18,750,000 (the same 10% over the new measurement), `measured` 17,041,608, `measured_on` 2026-11-06.

## Frame rate on the TV (release build, real server as the managed Guest)

- The 13 existing Settings-family fps scenes all pass at 60 fps.
- Pushing into a page a second time (Root -> Video & playback, Back, again) produced no late frame with the framedrop heartbeat armed at 25 ms.
- The first open of a page costs one late frame: Video & playback 28.0 ms, Language 29.8 ms. The frame's `spans=` field attributes it to text not yet rasterized (`textx33:18.2`, `textx23:18.2`); not a guess. `RoutePush` commits immediately, so the destination's strings are rasterized in the push's first frame and the dip's text prewarm never sees it. Not measured on `main`. A follow-up PR will warm the destination through the shared prewarm pass.

## Under posters picture

The picture takes a movie and a show poster from the Browse cache (`DirectoryView::kind_poster`), not only the current library's listing, and draws the shared `widgets::absent_card` when a kind has no art anywhere, so it never shows a skeleton tile.

## Open items

- Draft copy: "Back discards your changes.", "Remove Reference". Translations other than English are unreviewed by a native speaker; Belarusian words were checked as lemmas on skarnik.by / verbum.by (`спампоўка` confirmed by the owner), phrases and grammar were not.
- Board differences: no MOVIE / TV SHOW captions on the Under posters tiles (`ArtTile` has no kind mark); the Video choice stays labelled "Video"; sim captures for stages 2 and 4 were not taken (disk).
- The stage 1 follow-ups still stand (mixed 48/72 titles among doors, About scroll, ground tint over a real Home backdrop).

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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