Skip to content

fix(tv): keep long values in TV dialog rows on one line - #546

Merged
Quick104 merged 2 commits into
Silo-Server:mainfrom
Rhainland:fix/1163-tv-dialog-row-width
Oct 13, 2026
Merged

Quick104 merged 2 commits into
Silo-Server:mainfrom
Rhainland:fix/1163-tv-dialog-row-width

Conversation

@Rhainland

@Rhainland Rhainland commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Compiles; TV emulator against a local server with a mock provider: with German audio selected, target language and Transcribe are reachable with the D-pad and the job starts from the remote.

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

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code; OpenAI Codex CLI only to generate translation text for the local test provider
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: Claude Code /code-review (medium) over the combined fix branch for this repository; every confirmed finding was fixed and re-validated

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.
@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b70f44c2-5d3e-481f-9498-19e52f1a791b

📥 Commits

Reviewing files that changed from the base of the PR and between 538aa09 and e74af44.


📒 Files selected for processing (1)
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/player/TvSubtitleSearchDialog.kt

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-11T16:30:46.761790Z 7850e47 PR opened
ℹ️ 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" or "@codex security review".

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

silo-kody Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 3 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Validate download ownership before publishing subtitle bytes
  • Bind playback markers to the actual playing file
  • Share route-aware audio decisions and preserve original-format decoder fallback

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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-triage silo-triage Bot added bug Something isn't working impact: usability Core flow broken or severely blocked priority: P2 Limited scope, workaround exists, or polish labels Oct 11, 2026
@silo-kody

silo-kody Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 3 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Validate download ownership before publishing subtitle bytes
  • Bind playback markers to the actual playing file
  • Share route-aware audio decisions and preserve original-format decoder fallback

@Quick104
Quick104 merged commit 0e8a6cc into Silo-Server:main Oct 13, 2026
9 checks passed
neurekadev pushed a commit to neurekadev/silo-android that referenced this pull request Oct 14, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working impact: usability Core flow broken or severely blocked priority: P2 Limited scope, workaround exists, or polish

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants