Repository navigation
fix(phone): show which For You list is chosen in the pill row - #829
Conversation
The Watchlist and Favorites pills were both light filled capsules, and a chosen pill was only slightly lighter, so they looked selected while the recommendations feed was showing. Use the iOS styles: a clear outlined capsule when not chosen, a solid light capsule with dark content when chosen. Closes #819 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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 54 minutes. View limit details
|
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:
|
|
Visible change: Suggested fix: No diff — add those device captures to the linked evidence page. Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
Problem
Closes #819
Related issue: Silo-Server/silo-server#1182
Validation tasks: unblocks #334 C2 (a minor visual change to its passed phone and tablet results; worth a re-check on both)
At the top of For You on Android phones and tablets, the Watchlist and Favorites pills look selected even when neither is. Both are light grey filled capsules with dark text, and choosing one only makes it slightly lighter. A viewer can't tell whether For You is showing recommendations, the Watchlist, or Favorites.
Approach
SavedShortcutPillnow uses the iOSSavedShortcutButtonBodystyles:SiloOnSurfaceat 96%) with black text and icon and a 70% white border.With recommendations showing, both pills are outlined. Choosing Watchlist or Favorites makes only that pill solid, and tapping it again returns to the feed with both outlined. The empty-feed fallback, which shows the Watchlist by default, makes the Watchlist pill solid. The loading skeleton shows both outlined.
The comment on the sort and filter
ControlPillsaid it was the same capsule as these pills. That is no longer true, so the comment now describes only that pill.Phone app only. The TV app uses a dropdown for this choice and is unchanged.
Validation
:androidApp:testDebugUnitTestandtestDebugUnitTest: pass.:android-shared:lintDebug,:androidApp:lintDebug,:androidTvApp:lintDebug, bothlintVitalRelease) and:androidApp:assembleDebug: pass.mainat7b1c3f75, with four titles on the admin's Watchlist and three in Favorites:mainate9861fa6): with the feed showing and nothing chosen, both pills are filled grey. With Watchlist chosen, it is only slightly lighter than Favorites.Evidence
Evidence: https://evidence.siloserver.org/r/silo-android/issue-819/
Risks
Follow-ups
main. Its fix touches the same function, so it follows this PR.Checklist
AI Disclosure
🤖 Generated with Claude Code