Repository navigation
feat(tvos): paint an ambient backdrop wash from the artwork's colors - #829
Conversation
- Sample base, accent, and shadow tints from each backdrop instead of one average color - Share the tint wash and grain between the root landings and item details - Enlarge the backdrop to an uncropped 16:9 box with a smoother elliptical fade - Request hero backdrops at the larger box's 1479 pt fill width - Add a slow push-in on the backdrop art that stops when Reduce Motion is on - Add HeroBackdropPalette tests for accent, shadow, and dimming Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
Apple TV — The shared backdrop changes reach Home, library Browse/For You, the Requests landing, and movie, series, and request details. The description identifies before-and-after captures for Home and movie/series details, but not the library Browse/For You screens, Requests landing, or request details. Please add before-and-after screenshot pairs for those surfaces. iPhone, iPhone Duo folded and open, iPad, and Mac — The shared sampler changes the base tint on phone and Mac detail pages. The description says iPhone, iPad, and Mac captures were not taken and gives no reason for excluding them; the Duo configurations are not covered. Please add before-and-after detail screenshots for each device/configuration. Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
The slow scale on the backdrop art drew the eye away from the page. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
The 16:9 box moved the art's center left and down. Go back to the 64% × 70% box and its 1344 pt request width; the new fade and colors stay. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
The elliptical fade left the middle of the art at about 30% opacity. Restore the two crossed fades from main so the art shows as before; the sampled-color wash and grain still fill the page around it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
The grain was drawn over the art on Home, and the accent glow reached up into the art's fade. Draw the grain under the art, as the detail page already does, and anchor the glow to the bottom edge so it stops below where the art ends. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
|
The evidence link is present, but the described Apple TV “after” captures are from 4d650df, not current HEAD 46eb330. The final commit changes the visible wash and grain placement. The evidence page should show final-head before-and-after screenshots on Apple TV for Home, library Browse/For You, the Requests landing, Calendar, and movie, series, and request details; add a short recording of the focus-driven wash transition.
Automated check: Macroscope check run agent (gpt-6-luna). Evidence was not reviewed for correctness. Posted via Macroscope — Visible change evidence |
The grain only adds light, so even under the art it brightened the wash that shows through the art's fade, lightening faces on Home. Item details also lightened the art by putting Home's stronger base gradient behind it. Drop the grain, and keep the detail page's dim base tint behind the art while its accent and shadow washes carry Home's colors around it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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:
|
Problem
On Apple TV, the page around the Home and library landing backdrop is washed with one averaged color, and item detail pages use a flat tint. Neither carries much of the artwork's own character into the rest of the page.
Solution
Colors:
HeroBackdropPalettenow samples three tints from the 64 px palette thumbnail:Each is scaled for the dark theme as before.
Shared wash:
TVBackdropTintWashpaints the base gradient (unchanged from main), an accent glow rising from the bottom edge under the right of the rows, and the shadow tone in the bottom-left corner.TVRootHeroBackdrop) use all three.TVDetailPageSurface: movie, series, loading, request) keep main's dim base tint and add the accent and shadow washes.Art: unchanged. The backdrop keeps main's box, position, and fade, and nothing new is drawn over or behind it. The accent and shadow washes stop below and beside where the art ends.
iPhone, iPad, and Mac only read the base tint (
PhoneDetailHero). It is still the mean color of the same thumbnail with the same scaling, now computed from a 24 × 24 redraw instead ofCIAreaAverage.Verification
HeroBackdropPaletteTests(new, 4) pass on the tvOS simulator, along withArtworkSizingRequestTestsandImageSizeCapabilityTests, 36 tests in all. That run was at an earlier commit of this PR; later commits only changed tvOS backdrop views.Evidence: https://evidence.siloserver.org/r/silo-apple/tvos-ambient-bleed/
AI disclosure
This change was written with Claude Code (model
claude-opus-5-5) running in T3 Code. No other AI tools were used.🤖 Generated with Claude Code
Note
Render ambient base, accent, and shadow backdrop washes from artwork colors on tvOS
HeroBackdropPalettenow samples artwork into aTintsbundle (base, accent, shadow) via a 24x24 pixel redraw, a 12-bin hue histogram for the accent, and darkest-quarter averaging for the shadow; near-grayscale art falls back to a flat base (HeroBackdropPalette.swift)TVBackdropTintWashview layers a base gradient, a bottom-right accent ellipse, and a bottom-left shadow ellipse;TVRootHeroBackdropandTVDetailHerouse it, with tint changes animated as one value (TVRootHeroBackdrop.swift)tintColor(for:),cachedTint(for:)) remain as wrappers returning the base componentTVFocusMarqueeModel.tintColorwas replaced by atintsproperty andCalendarViewnow passes aTintsvalue, so out-of-tree callers of the old single-color API surface must migrateMacroscope summarized 9441a11.