Repository navigation
fix(tv): keep long values in TV dialog rows on one line - #546
Conversation
Choosing an audio track with a long label, such as "German AAC Stereo (Deutsch)", in the TV AI subtitles dialog wrapped the value over many lines. The row grew until the target language and Transcribe rows below it were off screen and out of D-pad reach, so a German-audio transcription could not be started with the remote. Cycler row values now stay on one line, take the space the title leaves and end with an ellipsis.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 24 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7850e478b5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Silo Kody — review completeReview finished. Check the inline comments for findings and verify each suggestion against the code and tests. Reviewing changes in Silo
Review settingsReview OptionsThe following review options are enabled or disabled:
|
…e apps (Silo-Server#445) * feat(settings): lay out Android and Android TV Settings like the Apple apps Settings on the phone was one long scrolling form of web-style cards, and the TV settings had drifted from tvOS: mono section headers, an eyebrow above each pane, a narrow rail without descriptions, and different labels and grouping. Phone, following the iOS Settings (silo-apple Silo-Server#546): - The overview is an inset-grouped list on black: large title, account card (avatar, "username · host", Admin badge), search, then one-line rows with graphite icon tiles and the current value. Sections: Preferences, Playback, Library, Support, Connection, Experimental, About, Sign Out. - Interface, Playback, Subtitles, Downloads, and Notifications are pushed sub-pages (new settings/* routes sharing the overview's view model), with Apple's labels, group order, and footers. Subtitle appearance is edited inline in Text, Background, and Layout groups under a live preview. - Diagnostics follows the Apple page order with menu pickers. - Rows use Apple's grouped palette: #1C1C1E cells, #3A3A3C tiles, green switches, title-case headers, and popup pickers with a checkmark. TV, following tvOS Settings: - Black ground, a wider rail with tvOS rail descriptions and outlined glyphs, and a pane header with the category glyph on a graphite tile. - Sans section headers, tvOS-proportioned rows, a card-style option picker, and the tvOS confirmation card. Text keeps the 14sp TV floor. - Playback moves Audio Language into Streaming; Subtitles orders Language, Behavior, Forced, splits out Metadata, and says Use Device Settings; Server shows Address, App Version, and Privacy Policy. Android-only settings stay, placed in the matching group. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(settings): keep group dividers right when rows change, and restore Diagnostics privacy link Row dividers were assigned by first-composition order, so a group whose first row changed while it stayed on screen (search filtering, a row swapping in place in Diagnostics) drew a hairline on its top edge. Every row now draws its hairline and the group paints over its own top edge. The phone Diagnostics page lost its Privacy Policy link in the restyle; it is back as the last Capture row. The subtitle preview parses colours with toColorInt, as lint asks. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(settings): preview the device caption style when Use Device Settings is on The phone subtitle preview drew the saved custom style even with Use Device Settings on, while playback and the TV preview use the device caption style. The preview now reads effectiveSubtitleAppearanceFlow; the Text, Background, and Layout groups still edit the saved style. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(tv): keep Settings rail text on one line at large font sizes Rail rows are a fixed 50dp. At font scale 1.3, "Language and appearance" wrapped and its second line was cut off mid-glyph. Title and description now ellipsize on one line. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Problem
Related issue: Silo-Server/silo-server#1163
Validation tasks: unblocks #328 C1, #328 C5
In the Android TV AI subtitles dialog, choosing an audio track with a long label such as "German AAC Stereo (Deutsch)" wrapped the value over many lines. The row grew until the target language and Transcribe rows were off screen and out of D-pad reach, so a German-audio transcription could not be started with the remote.
Approach
Values in the TV dialog's cycler rows stay on one line, take the space the title leaves, and end with an ellipsis. The subtitle search dialog uses the same row.
Validation
Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/pr-546/
Surface and build: Android TV emulator, with a short recording; before = main 747efff, after = this branch.
Risks
None identified.
Checklist
AI Disclosure