Repository navigation
Player sub-menus 3/5: languages and image-subtitle badges - #346
Merged
Merged
Conversation
… badge
Subtitle languages outside the viewer's own collapse into an "Other
languages" row that opens an A-Z page; a language with one track is a
pick row, with several a nav row ("N tracks") opening a per-language
page. Image-based subtitles (PGS, VobSub, DVB) carry a codec badge.
Built on the keyed TrackRow / TrackPage forms: focus lands on the active
track (opening Other when it sits behind it), pop restores the opener,
a language page that shrinks to one track stays open, and a page whose
stream vanishes pops to the root. Committing from a language page does
not keep the menu open. The harness resolves and commits sub-menu
targets through the same path. Drops the language_count locale key.
Co-Authored-By: Claude Opus 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.
Part 3 of 5 of the player sub-menus. Follows #345 (squash-merged as 73aa443) and is based on
main.What changed
TrackRow/TrackPageforms: focus lands on the active track, and opens Other when the active track sits behind it. Pop restores the opener. A language page that shrinks to one track stays open. A page whose stream vanishes pops to the root (pages_hold, stream identity).sub_track_for_target/commit_sub_trackthrough the overlay'sresolve_menupick_track/pick_sub_trackanddev/scenarios.rs.TITLE_GAPis now 12.0. The unusedwidgets.tracks.language_countlocale key is removed (en/es/be).docs/player-submenus.mdupdated.Replay
The screen shape string is unchanged, so
SCREEN_SHAPES_PINwas not bumped and the three fixtures replay untouched; no re-record was needed.Verification
cargo +nightly test --lib:test result: ok. 5357 passed; 0 failed; 7 ignoredcargo +nightly check --lib --no-default-features: cleanmake check:test result: ok. 5431 passed; 0 failed; 7 ignored(plus the rest of the gate, all green)make(ARM): buildstests/replay_fixtures.py:3 fixtures, 6 replays, 0 failures;tests/focusfp.sh --replay:3 passed, 0 failed, 9 skipped of 12🤖 Generated with Claude Code