Skip to content

fix(tv): ask to open a profile automatically the way Apple TV does - #762

Merged
Quick104 merged 1 commit into
mainfrom
fix/issue-743-tv-remember-profile-prompt
Oct 31, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/issue-743-tv-remember-profile-prompt

Conversation

@Quick104

@Quick104 Quick104 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: #743 (this covers the post-sign-in prompt; #754, #758 and #761 cover the other screens, and the sign-out choice follows), Silo-Server/silo-server#1192
Validation tasks: changes #337 C1 and C4 (the prompt right after a TV signs in); not run yet.

After a new Android TV signs in for the first time, it asks "Open automatically?" as a list. Remember comes first, and each choice has its own subtitle. Apple TV shows a short alert instead: one explanation, then Ask Every Time and Remember side by side, with focus on Remember.

Approach

The prompt now uses the TV's standard TvDialog, with Apple's title and message ("this TV" for "this Apple TV"). Ask Every Time comes first, then Remember, with focus starting on Remember. Back still answers Ask Every Time. What each answer stores is unchanged.

The profile picker's Manage button behind the prompt isn't part of it and stays. It's how the TV reaches profile management.

Validation

Reproduced live on an Android TV emulator (Android 14) against a dev server, main at 76dee90 before and this branch after. Each run was a fresh install, connecting to the server, then approving the code from the browser. Before, the list with Remember first. After, the alert, with focus on Remember; Left reached Ask Every Time, and selecting it went on to Home.

:androidTvApp:testDebugUnitTest, :androidTvApp:lintDebug and :androidTvApp:lintVitalRelease passed with no new findings.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-android/issue-743-remember/

Android TV only.

Risks

  • Copy and layout only.

AI Disclosure

  • Harness: Claude Code (in T3 Code)
  • Tool(s): Claude Code; agent-device and adb on a temporary Android TV emulator; headless Chromium for the browser approval
  • Model(s): claude-opus-5-5
  • Involvement: AI-assisted: the agent wrote the change and ran the emulator checks
  • Adversarial review: the plan round was skipped because the change copies Apple TV's alert into an existing dialog component. A background adversarial review by gpt-6.1-sol of 311fef8 found nothing to report.

🤖 Generated with Claude Code

Note

Redesign the remember-offer dialog in TvProfileSelectionScreen to match Apple TV

Replaces the old TvOptionDialog with TvDialog in TvProfileSelectionScreen.kt. The new dialog adds explanatory text and orders the actions as Ask Every Time first, then Remember, with initial focus on Remember. Risk: dismissing the dialog now answers the offer with remember=false, which selects Ask Every Time.

Macroscope summarized 311fef8.

After a new TV's first sign-in, Android TV offered "Open <profile>
automatically?" as a list with Remember first and a subtitle under each
choice. Apple TV shows an alert: a short explanation, then Ask Every Time
and Remember side by side, with focus on Remember. Android TV now shows
the same alert in its standard dialog. Back still answers Ask Every Time.

Part of #743

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Oct 31, 2026
@silo-kody

silo-kody Bot commented Oct 31, 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 ❌
⚠️ 4 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
  • Apply playback route eligibility consistently at admission and media loading

@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 30 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 130 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5a05a421-5dc6-464b-bae0-f2fd78d335a3
Commits

Reviewing files that changed from the base of the PR and between 76dee90 and 311fef8.

Files selected for processing: 1
  • androidTvApp/src/androidMain/kotlin/org/siloserver/silo/tv/ui/screens/profiles/TvProfileSelectionScreen.kt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 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-31T01:07:50.444474Z 311fef8 PR opened
🔒 Security Review ✅ Completed 2026-10-31T01:08:33.502667Z 311fef8 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-triage silo-triage Bot added bug Something isn't working impact: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish labels Oct 31, 2026
@Quick104
Quick104 merged commit 6b832ca into main Oct 31, 2026
11 of 16 checks passed
@Quick104
Quick104 deleted the fix/issue-743-tv-remember-profile-prompt branch October 31, 2026 19:44
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: polish Annoyance, cosmetic, or nice-to-have priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant