Skip to content

fix(phone): show which For You list is chosen in the pill row - #829

Merged
Quick104 merged 1 commit into
mainfrom
fix/issue-819-for-you-pill-states
Nov 6, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/issue-819-for-you-pill-states

Conversation

@Quick104

@Quick104 Quick104 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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

SavedShortcutPill now uses the iOS SavedShortcutButtonBody styles:

  • Not chosen: a clear capsule with light text and icon and a 1.5dp white border at 30%.
  • Chosen: a solid light capsule (SiloOnSurface at 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 ControlPill said 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:testDebugUnitTest and testDebugUnitTest: pass.
  • Lint (:android-shared:lintDebug, :androidApp:lintDebug, :androidTvApp:lintDebug, both lintVitalRelease) and :androidApp:assembleDebug: pass.
  • The supply-chain scripts did not run locally because the build host has no Ruby. This change touches no workflow or Gradle verification files.
  • Pixel 9 emulator signed in to a Silo dev deployment built from server main at 7b1c3f75, with four titles on the admin's Watchlist and three in Favorites:
    • Before (main at e9861fa6): with the feed showing and nothing chosen, both pills are filled grey. With Watchlist chosen, it is only slightly lighter than Favorites.
    • After (this branch): with the feed showing, both pills are outlined. Choosing Watchlist, then Favorites, makes only the chosen pill solid, and the grid below shows that list.
  • Pixel Tablet and Pixel 9 Pro Fold (folded and open), against a second dev deployment from the same server commit with the same lists. The before and after look the same as on the phone: both pills filled before, both outlined after with the feed showing, and only the chosen pill solid after. The after build there is the pushed head.

Evidence

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

Risks

Follow-ups

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, GitHub CLI
  • Model(s): claude-opus-5-5 (implementation and review), claude-sonnet-5-5 (one review finder)
  • Involvement: Fully AI-generated; human review of the diff pending
  • Adversarial review: Claude Code ran a multi-agent code review at high effort over the diff: three read-only finders covering correctness, callers, iOS and Android TV parity, reuse, and conventions. It found no defect in the change. It flagged a stale KDoc line, which is fixed, and the older sort and filter pill styling, which is filed as a follow-up. The plan review round was skipped because the fix copies existing iOS values into one composable and adds nothing. A background adversarial review with gpt-6.1-sol (Codex) reviewed 683c541. It checked all three call sites, legibility, pressed states, tablet and TV reach, and Watchlist / Favorites / Ratings — Android #334 C2, and found no defect in the change. It noted the missing TalkBack selected state, which predates this PR and is filed as [bug] TalkBack doesn't say which For You list pill is chosen (Android phone, tablet) #832.

🤖 Generated with Claude Code

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

coderabbitai Bot commented Nov 6, 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 54 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 87 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: 90657f52-9622-475a-a99e-b34aaa003a42
Commits

Reviewing files that changed from the base of the PR and between e9861fa and 683c541.

Files selected for processing: 2

  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/components/SortFilterControls.kt
  • androidApp/src/androidMain/kotlin/org/siloserver/silo/android/ui/screens/recommendations/RecommendationsScreen.kt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 6, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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-11-06T02:07:13.399832Z 683c541 PR opened
🔒 Security Review ✅ Completed 2026-11-06T02:08:14.394663Z 683c541 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 Nov 6, 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 ❌

@macroscopeapp

macroscopeapp Bot commented Nov 6, 2026

Copy link
Copy Markdown

Visible change: RecommendationsScreen.kt changes the Watchlist/Favorites pills between outlined unselected and solid selected states. The linked evidence reports phone coverage, but the PR says the tablet was not captured and does not document a foldable capture. Please ensure the linked evidence page includes before-and-after screenshots of the same For You screen with the same data on an Android tablet and a foldable both folded and open.

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

@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 Nov 6, 2026
@Quick104
Quick104 merged commit a745a65 into main Nov 6, 2026
10 checks passed
@Quick104
Quick104 deleted the fix/issue-819-for-you-pill-states branch November 6, 2026 02:27
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.

[bug] For You's Watchlist and Favorites pills look selected before you pick one (Android phone, tablet)

1 participant