Repository navigation
feat(ui): native Settings and Downloads styling without the blue accent - #546
Conversation
Remove the blue accent (siloAccent and the AccentColor asset) from the Apple clients. Switches use the system green; everything else is white or gray. - iOS Settings becomes a native inset-grouped List with one-line rows, graphite icon tiles and inline sub-page titles. Show Audiobooks moves into Experimental, and the Playback footer is cut to the quality description plus two short notes. - iOS Downloads rows form inset groups; the storage bar uses the Silo wordmark colors. - tvOS Settings drops the boxed rail, blue markers and blue focus glows. Focus handling is unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Warning Review limit reachedNext included review available in 33 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (42)
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 |
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. |
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Providing Context (Files & MCPs)Add these hints in your PR description (or a comment) to unlock deeper checks:
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9ccb3218d0
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Moving Show Audiobooks into Experimental made a search for one row show every row in the section. Each row now appears for its own terms; a query naming the section still shows them all. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Providing Context (Files & MCPs)Add these hints in your PR description (or a comment) to unlock deeper checks:
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 04a73585f6
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
With the accent now near-white, an untinted switch in the onboarding tour showed a white knob on a white track. Use the shared switch green. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Providing Context (Files & MCPs)Add these hints in your PR description (or a comment) to unlock deeper checks:
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
|
Sync upstream silo-apple (2026-09-29): downloads, calendar, watch-party, native settings styling (Silo-Server#525-Silo-Server#546)
…r option (#539) * feat(playback): add independent subtitle text opacity and a gray color option White subtitle text against a dark background is uncomfortably bright on an OLED or HDR display. The subtitle appearance settings had no way to dim the text itself: backgroundOpacity only affects the box behind it, and the font color palette had no gray option. Adds a textOpacity field (1-100, default 100) alongside the existing backgroundOpacity, applied to the text color independently of the background, plus a gray swatch in the font color palette, across iOS, tvOS, and macOS. Both opacity controls moved from a slider to a typed percent field (iOS/macOS) or a D-pad picker (tvOS, matching the existing paradigm) after a slider proved too imprecise to hit low values; the new PercentField is now a single shared component instead of two copies that had already drifted. Also re-vendors the settings contract at manifest revision 13 (adding the missing per-key revision entries this exposed), extends the low-legibility warning to fire on near-zero text opacity, and fixes two contract tests that assumed every revision introduces a new key, which does not hold for a schema-only widening like this one. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(playback): hold back textOpacity from servers that don't know it yet textOpacity was added to playback.subtitle_appearance's schema at manifest revision 13, but the key itself has been servable since revision 1 — a server between those (or one this session hasn't confirmed yet) has a schema validator that rejects the whole write for the one unknown member, failing every subtitle-appearance edit rather than just the new field. PlayerSettings now caches the manifest revision from each batched effective-values read and omits textOpacity from the wire payload below revision 13. The chosen value still applies locally. Also fixes the same off-cadence opacity picker issue found on the Android companion PR (Silo-Server/silo-android#413) at all four tvOS/macOS discrete pickers, commits a pending PercentField edit on view teardown (the number pad has no Done key), and merges upstream/main to resolve a conflict from #546 with the slider this PR already replaced. Found by CodeRabbit and Kody review on PR #539. Co-Authored-By: Claude Sonnet 5 <[email protected]> * fix(playback): clear the known manifest revision on every refresh knownManifestRevision lives on PlayerSettings.shared, which survives server and profile switches. A revision confirmed for the previous scope stayed cached if the new scope's refresh failed or hadn't completed, so a subtitle appearance edit right after switching to an older server could still send textOpacity and get the whole write rejected — exactly the failure the previous commit meant to prevent, just from a different angle. Clearing the cached revision at the top of refreshFromServer(), before anything else runs, means a failed or pending refresh always falls back to the conservative "unknown" gate. Found independently by CodeRabbit and Kody review on PR #539. Co-Authored-By: Claude Sonnet 5 <[email protected]> * chore(settings): re-vendor the settings contract at revision 14 The server moved subtitle textOpacity from manifest revision 13 to 14, because revision 13 went to the advisory_age overlay id. Copy manifest.json and conformance.json byte-for-byte from the server commit that made the move, regenerate the Swift bindings from it, and point SOURCE at that commit. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(playback): decide textOpacity at send time, from revision 14 A server below manifest revision 14 rejects any subtitle_appearance write that contains textOpacity, then the next refresh reverts the whole appearance. The client stripped the member at enqueue time against a gate of 13, so a revision-13 server still received it. Stripping at enqueue also lost data: refreshFromServer clears the known revision before it reads, so an edit made during that read queued a stripped object that replaced the stored one on a current server. The flusher now records the revision from each effective-values read and decides at send time. It strips members the server's revision predates and holds a subtitle_appearance write while the revision is unknown. A refresh flushes the held write once its read succeeds. The one-time legacy import goes through the same path and compares its value as the server would store it. The gated members and their revisions live in SettingKeyRevisions.swift, and a conformance test ties them to the vendored manifest's notes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(tvos): offer 25-100% text opacity in the player HUD The HUD built its text opacity options with a 25-point stride starting at 1, which yields 1, 26, 51 and 76. Once the value changed, 100% could not be picked again, and 1% (invisible text) was offered. Text opacity now offers 25, 50, 75 and 100. Background opacity keeps Off through 100. Both pickers still add the current value when another client stored one between the steps. The HUD and tvOS Settings pickers now share one helper for the option values, with a unit test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(playback): hide text opacity on servers older than revision 14 A server below manifest revision 14 never receives textOpacity, so a value picked there only lasts until the next refresh. Hide the control on the iOS and macOS subtitle settings screen, the in-player settings sheet, tvOS subtitle settings and the tvOS player HUD when the server is known to predate it. While the revision is unknown, the control stays visible. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(ui): make the percent field commit once, with a Done key - iOS: the number pad has no return key, so add a keyboard toolbar Done button that commits and ends editing. - Commit only a draft the user typed. onSubmit, focus loss and onDisappear can all fire for one edit. The later calls no longer repeat the write or put a stale draft back over a value synced in the meantime. - A synced value replaces the draft unless the user is mid-edit. - macOS: accept surrounding whitespace and a trailing "%". Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(playback): keep the settings revision across a failed refresh A refresh cleared the known manifest revision before reading it again, so one refresh that failed offline held every later subtitle appearance write until the next successful read. The revision is now forgotten only when the server, profile or device changes. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * chore(settings): point the vendored contract at its merged server commit Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(playback): keep a settings revision only for the scope that read it A refresh awaits a flush and a read, and the read goes to whichever server, profile and device are active when it is sent. If the scope changed in between, the revision was recorded for the old scope, and returning to it reused the other server's revision. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: Kamil Gielas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Quick104 <[email protected]>
Problem
Related issue: N/A. The maintainer requested this design change directly; no issue was filed.
Validation tasks: changes #303 C1, C2 (visual only, see Risks)
Settings on iOS and tvOS, and the iOS Downloads tab, didn't look like native apps. Settings read like a web page: two-line rows in outlined cards, colored icon circles, a blue glow behind the page, and large icon headers on each sub-page. Downloads drew every row as its own outlined card. The app's blue accent (
siloAccent#78AEFC, plus theAccentColorasset #1E88E5) also appeared on switches, sliders, badges, tvOS focus glows, the iPad sidebar selection, the companion pairing card, and the downloads Live Activity. The rest of Silo is black and white.Approach
siloAccentis removed. Switches use a newsiloSwitchOntoken (the system's dark-mode green), because a white track would hide the white knob. Every other control is white or gray. TheAccentColorasset becomes #EDEDED, which matches the tint the signed-in shell already applies. Places that relied on a colored accent get explicit colors: the iPad sidebar selection, prominent buttons (white fill, dark text, dark spinner), the companion pairing card, the player quality pill, and the Live Activity ring and glyphs.List: one-line rows with the current value, graphite icon tiles, and a large title.LazyVStack, so long lists stay lazy, and the custom swipe-to-cancel, long-press menus and series expansion keep working. Each row draws its group slice inside its context menu, so the long-press preview keeps the cell shape.The tile, cell and switch colors come from Apple's dark-mode grouped-list palette. Android wasn't compared; this changes appearance only.
Validation
run-local-simulator.sh iosandrun-local-simulator.sh tvos: signed Debug builds installed and launched on iOS 27.0 and tvOS 27.0 simulators.xcodebuild build -scheme SiloMac -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO: passed.xcodebuild test -scheme Silo -only-testing:SiloTests CODE_SIGNING_ALLOWED=YES CODE_SIGN_IDENTITY=-on an iOS 27.0 simulator: 2,210 tests, 0 failures, 2 skipped. This ran on the combined working tree before it was split into this PR and two others (offline detail page, delete confirmations), and before the rebase onto fix(watch-party): stop showing refused socket messages as a party error #542.Risks
AccentColoris now near-white. Views outside the signed-in shell that used an untinted system control would now draw it near-white instead of blue. The known cases (prominent buttons, the pairing card, the macOS Retry button, the tvOS remote standby button) get explicit tints and dark text. The app forces dark mode, so alerts stay readable.Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Restyle iOS Settings and Downloads screens with native grouped lists without the blue accent
Rebuilds the Settings overview and Downloads pages as native grouped lists, and removes the shared blue
siloAccenttoken across the app.Listwith a large title, replacing the custom scroll-view card layout. Sub-screens drop their in-list headers and use navigation titles instead.DownloadGroupPositionandDownloadGroupedRowModifier, replacing per-row rounded cards.siloAccentfor switches (siloSwitchOn), grouped cells, and icon tiles; theAccentColorasset becomes near-white.DownloadKindChipandSettingsOverviewDividerviews are deleted.Macroscope summarized 036667b.