Repository navigation
fix(tv): ask to open a profile automatically the way Apple TV does - #762
Conversation
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 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:
|
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
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. View limit details
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. |
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,
mainat 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:lintDebugand:androidTvApp:lintVitalReleasepassed with no new findings.Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/issue-743-remember/
Android TV only.
Risks
AI Disclosure
🤖 Generated with Claude Code
Note
Redesign the remember-offer dialog in
TvProfileSelectionScreento match Apple TVReplaces the old
TvOptionDialogwithTvDialogin 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.