Repository navigation
feat(settings): let profiles turn off title art on detail pages - #1740
Conversation
Detail pages name a title with its logo art whenever one exists. Add ui.title_art (settings manifest revision 16) so a profile can show plain text titles instead, either on one device or on every device. The key resolves its profile value ahead of the device value, so a profile value is the "apply to all devices" choice and clearing it hands control back to each device. The web adds the switch pair under Navigation & Cards, lists the device value on the Devices screen, holds the title while the setting loads, and puts the title type and network on one eyebrow line.
|
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 (21)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughThe revision 16 settings contract adds ChangesTitle Art Setting
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change adds a title-art setting with profile-first resolution and matching detail-page rendering. No actionable merge-blocking risk was found, and the reported tests and checks pass. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change controls title presentation, with existing account and profile access checks limiting its scope. Coordinating profile and device saves leaves some identity and concurrent-save uncertainty, but the examined behavior does not establish a new privilege or sensitive-data exposure. 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)
Full details: Docstring CoverageExplanation Docstring coverage is 30.77% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 13 functions across 17 files. (4 skipped: 4 unsupported.)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
Code Review Could Not Complete
|
| Options | Enabled |
|---|---|
| Bug | ✅ |
| Performance | ✅ |
| Security | ✅ |
| Business Logic | ❌ |
This comment has been minimized.
This comment has been minimized.
|
Suggested line: Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
|
@kody review |
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:
|
Quick104
left a comment
There was a problem hiding this comment.
One independently verified finding at ff4a3878684d730a42fb87a3a6631e4367008157.
Reviewed by gpt-6.1-sol in T3 Code using the Codex provider.
| const profileWide = | ||
| effective?.source === "profile" && definition.resolutionOrder[0] === "profile"; |
There was a problem hiding this comment.
[P2] Keep retained device values individually resettable
Set “Show title art” off for this browser, enable “Apply to all devices”, then turn title art on. The device's false row is retained, but the effective read returns the winning profile row (scope: "profile"). changedHere therefore becomes false and this row is disabled: “Your devices” counts the saved override as “1 thing set differently”, shows only the profile's true value, and offers no individual reset. The user cannot inspect or clear that retained choice without disabling the profile-wide choice across other devices or using “Clear all changes”, which also deletes unrelated device overrides. Read the explicit device row separately and keep its value and individual reset available while the profile value wins. Reproduced with the shipped TypeScript resolver and component; the stored row remains in the production device-list SQL result.
There was a problem hiding this comment.
Confirmed and fixed in d59a5ee. The Devices screen now reads the device's own ui.title_art row through GET /api/v2/settings/values while the profile value wins, marks it "Changed here", names its stored value, and offers the individual reset. "keeps a device's own title art choice resettable while the profile value wins" in DeviceSettingGroups.test.tsx covers it.
…y-to-all While a profile-wide title art value wins, the effective read names only the profile row, so the device's retained row was counted as a change but had no visible value or reset. Read the device row through the explicit values endpoint and show it with its own reset.
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:
|
…ommit Silo-Server/silo-server#1740 squash-merged as 668a431. Re-copy manifest.json from that commit, which also carries the platforms list that #1762 gave ui.card_overlays_enabled, and record it in SOURCE. conformance.json and the generated Swift bindings are unchanged at that commit.
Server main gave settings revision 16 to ui.title_art (Silo-Server/silo-server#1740), and Silo-Server/silo-server#1709 now introduces both spoiler keys at revision 17. Gating on 16 showed both switches against a server-main build, and every save failed. Re-vendor the settings contract from #1709 at aa7ba00e2, regenerate the bindings (which adds ui.title_art at 16), and gate the spoiler keys on 17. The tests treat a revision-16 server as unsupported. Co-Authored-By: Claude Opus 5.5 <[email protected]>
* feat(settings): hide spoilers for unwatched episodes, per profile Adopt the settings contract at revision 15, which adds the profile settings catalog.hide_unwatched_episode_images and catalog.hide_unwatched_episode_overviews. When a profile turns them on, iOS, tvOS and macOS blur the still and hide the description of episodes the profile has not started: episode rails, Home still and thumbnail cards, the tvOS focus marquee, the tvOS series hero and detail loading frame, the player's Up Next screen, and the watch party episode picker. A Spoilers section in Playback settings holds the two switches, shown only when the server serves revision 15. The profile-scoped settings transport moves out of the seek-interval store so both stores share it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(spoilers): handle episode aliases and pending hero updates Keep the pending marquee rest tied to its selection and use the latest presentation. Apply section spoiler checks to both accepted episode type spellings. Co-authored-by: Codex <[email protected]> * fix(spoilers): preserve series artwork with v2 provenance Carry image provenance through catalog projections, Home cards, episode rails, Watch Party selection, and TV marquee/loading artwork. Preserve explicit series art and protect older responses conservatively. Co-authored-by: Codex (gpt-6.1-sol) <[email protected]> * fix(spoilers): complete artwork consumers and require revision 16 Protect saved-list posters and BrowseItem loading seeds, preserve Watch Party poster provenance, and refresh the retained TV marquee after row watch-state updates. Vendor the integrated server settings and API fixtures. Co-authored-by: Codex (gpt-6.1-sol) <[email protected]> * fix(spoilers): protect party lobby and reset removed marquee items Retain episode watch state and artwork provenance through lobby previews and catalog refreshes. Apply profile preferences to the startup frame, lobby backdrop, poster, and overview. Cancel removed marquee selections before reseeding, including pending focus work. Co-authored-by: Codex (gpt-6.1-sol) <[email protected]> * fix(spoilers): protect enriched artwork and update party watch state Apply episode poster provenance in shared rows and protect enriched marquee stills using the current section watch state. Retain positive local party progress through lobby presentation and late catalog reads. Co-authored-by: Codex (gpt-6.1-sol) <[email protected]> * fix(spoilers): protect search, Watch Party, and Top Shelf, and keep the store in step Close the review findings on the spoiler settings: - Search grids pass episode watch state and poster provenance, and TVMediaCard blurs a protected still the way MediaCard does. - Browse rows read the resume position that section-sourced pages carry. - The store reads `values` on every path, so a view that renders before a refresh adopts a new profile still redraws with the server's answer. A write confirmed after a profile switch is cached for the profile it was made on, and a return to that profile mid-write shows the saved value. - Watch Party: the tvOS invite backdrop applies protection, a series link built from an episode row leaves out artwork flagged as that episode's still, a series + next-up choice marks its backdrop as series art, and WatchPartyPoster blurs before its rounded clip. - Playback enrichment keeps both provenance flags when it rebuilds ItemDetail, so the marquee no longer drops a safe series backdrop. - Top Shelf reads the image switch the app cached in the App Group and leaves out an untouched episode's still when no parent poster loads. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(spoilers): cover the macOS hero, downloads, and suggestions; refine Top Shelf Answer the second round of review on the spoiler settings: - The macOS featured hero protects its backdrop, description, and title-strip posters, as Home cards do. - Downloaded episode rows blur an untouched episode's saved still, using this device's progress. - Watch Party ballots, suggestion cards, and the vote-mode backdrop treat an episode suggestion's poster as an untouched still, since suggestions carry no watch state or provenance. - Top Shelf reads the cached answer before any request suspends, decodes played state and poster provenance, normalizes the episode type, and keeps watched episodes and series artwork. - BrowseItem(sectionItem:) keeps both provenance flags. - The tvOS series hero shows the description when either the playback detail or the refreshed episode list says the episode has started. - Episode checks reuse SiloMediaType.isEpisode. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(watch-party): protect the hub backdrop by the image it shows When the displayed item has no artwork, the backdrop falls back to the leading suggestion's poster, so take the spoiler decision from that suggestion instead of the displayed item. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(settings): gate spoiler settings on contract revision 17 Server main gave settings revision 16 to ui.title_art (Silo-Server/silo-server#1740), and Silo-Server/silo-server#1709 now introduces both spoiler keys at revision 17. Gating on 16 showed both switches against a server-main build, and every save failed. Re-vendor the settings contract from #1709 at aa7ba00e2, regenerate the bindings (which adds ui.title_art at 16), and gate the spoiler keys on 17. The tests treat a revision-16 server as unsupported. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Codex <[email protected]>
Problem
Related issue: N/A
Validation tasks: changes #1220 C2 (
ui.title_artdeliberately resolves its profile value before the device value), #1221 C1, #1222 C1 and C2 (Devices screen lists the title art device value), #1252 C2 and #199 (detail page header on web)Movie and series detail pages always use the title's logo art as its name when one exists. Some people find the logos hard to read or prefer plain text, and there is no way to turn them off. This adds a "Show title art" preference that a profile can set for one device or for every device, and tidies the type and network labels that sit above the title.
Approach
ui.title_artis a boolean in settings manifest revision 16 (default on) withprofileandprofile_devicescopes. Its resolution order putsprofilefirst: a profile value is the "apply to all devices" choice and wins everywhere, and clearing it lets each device follow its own value again. The server still does all the resolving, and clients read one effective value, whosesourcetells them whether "apply to all devices" is on. The manifest notes spell out the writes every client makes, anddocs/architecture/settings-contract.mddescribes this resolution order. Two conformance cases cover it.On the web:
SERIES · HBO). Episode and season pages keep their breadcrumb.Apple and Android follow in their own PRs, which depend on this manifest revision.
Validation
make verify-settings-bindings-allandmake lint-changedare clean.Risks
profilevalue resolves ahead ofprofile_device. Clients that don't know the key are unaffected and keep showing logos.changed_countfor a device now includes title art values. The Devices screen shows them, so the count and the list agree.ui.title_artonly from servers at manifest revision 16.Checklist
AI Disclosure
Note
Add profile-wide title-art setting for detail pages
title-artboolean setting (revision 16) that resolves profile scope before profile-device scope and defaults to enabled. DetailHero.tsx shows the title logo only when the setting is true, shows text when false, and reserves the logo layout while the value is loading.useStoredSettingValuesso a retained device choice stays visible and resettable when a profile value wins. See DeviceSettings.tsx.getHomeItemTransitionShapein index.tsx if transition geometry regresses.Macroscope summarized d59a5ee.