Repository navigation
feat(settings): lay out Android and Android TV Settings like the Apple apps - #445
Conversation
…e 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 #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]>
…e 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]>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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:
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (25)
💤 Files with no reviewable changes (3)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Android Settings overview now supports search and links to dedicated settings pages. The update adds shared settings components, reorganizes Android settings controls, and revises the Android TV settings interface, including profile avatars and picker dialogs. ChangesAndroid Settings redesign
Priority: ➖ Normal Estimated code review effort: 4 (Complex) | ~60 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant SettingsScreen
participant AppNavigation
participant SettingsPages
participant SettingsViewModel
SettingsScreen->>AppNavigation: Open a Settings sub-page route
AppNavigation->>SettingsPages: Render the selected page
AppNavigation->>SettingsViewModel: Resolve the overview-owned view model
SettingsPages->>SettingsViewModel: Read and update settings state
Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to Settings on Android phones becomes a searchable overview with dedicated pages, and the Android TV settings screens get a visual refresh. No concrete defects were identified in the navigation, the account details shown in Settings, or the reorganized controls, so the change looks ready to merge. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The new pages reuse existing settings operations and preserve normal profile-switch and sign-out navigation. No introduced authorization bypass was established. Delayed account-state updates remain an uncertainty, so the change cannot be treated as having minimal security risk. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
Main added "Show title art" to the old Settings overview (#430). The phone rows now live on the Interface page as a Title Pages group, which refreshes the store when the page opens; overview search finds it under "title art". The TV group merged as written. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ngs 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]>
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]>
Quick104
left a comment
There was a problem hiding this comment.
Review of 4ff4914. Besides the subtitle preview finding (answered in Kody's thread), I found one defect. The branch also conflicts with main after #430 (title art), and I'm resolving that in a merge commit. The summary comment follows once the fixes are pushed.
Posted by Claude Code (claude-opus-5-5).
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:
|
Review summaryReviewed head: Addressed
Remaining (not blocking)
Validated features: none affected. The passed v1.0 cases on Android (Calendar, person pages) don't run through these Settings screens. Validation: unit tests pass for phone and TV. On API 36 phone and TV emulators against a dev-builder sandbox, I checked the subtitle preview with Use Device Settings off and on, title art on phone Interface and TV General, and the TV rail at font scale 1.3 and 1.0. Mergeability: 9/10 — ready. The approach and fit hold, both findings are fixed and verified, Kody accepted the preview fix, and every check on Posted by Claude Code (claude-opus-5-5). |
Summary
Reorganizes Android and Android TV Settings to align more closely with the Apple apps’ layout, grouping, and terminology while retaining Android-specific controls.
Changes
Android
Android TV
Tests
Updates existing picture-in-picture label assertions and TV category tests for the revised presentation.
Validation
./gradlew :androidApp:testDebugUnitTest :androidTvApp:testDebugUnitTestpasses on the merge with main.SettingsViewModelOfflinePreferencesTestfailed once in CI on4ff4914d. It passed every local run (7 of 7), so I'm treating it as a flake, not a regression.main(settings revision 16). The checks covered the subtitle preview with Use Device Settings on and off, the Title Pages group on phone Interface and TV General, and the TV rail at font scale 1.3 and 1.0.Evidence: https://evidence.siloserver.org/r/silo-android/pr-445/
AI disclosure
Written with Claude Code using claude-opus-5-5. Review fixes, the merge with main, and the verification above were also done by Claude Code (claude-opus-5-5). Kody generated the summary block above, and Kody and CodeRabbit reviewed the PR.
🤖 Generated with Claude Code
Note
Rework Android and Android TV Settings into Apple-style grouped pages
SettingsViewModel.SettingsUiState.ProfileAvatarRef, and a new Privacy Policy row in the Server pane.SettingsNavigationRow,SettingsSwitchRow,SettingsDropdownRow,SettingsProse,SettingsSectionCard, divider modifiers) from SettingsScreen.kt; any out-of-tree callers must migrate to the new components.SettingsViewModelKoin provider now passes twelve constructor arguments in AndroidModule.kt.Macroscope summarized 85b5b74.