Repository navigation
feat(web): give a collection page the homepage hero's look - #3734
Conversation
A collection's backdrop now runs edge to edge from the top of the page, behind the title and the filter bar, and fades into the grid through the homepage hero's scrims, ambient glow and slow pan. The title uses the hero's type with a Collection eyebrow; Shuffle is the primary pill, and Edit, Add to my Home and the menu are glass pills. The count moves into the filter bar. A collection without a backdrop keeps the same header over the plain page, and other catalog pages keep their header. 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 6 minutes. View limit details
|
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:
|
Codex Review Summary: ✅ CompletedThis 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. |
Shuffle, Add to my Home and More actions overflowed a narrow phone's width, pushing More actions off screen. The row now wraps. 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
Related issue: N/A
Validation tasks: changes #195 W4 (an empty collection's count now reads "0 titles" in the filter bar instead of "0 RESULTS" in the header) and W5 (how the assigned backdrop is shown); reaches #195 W1 and W2 (the Edit, More actions and Add to my Home buttons are restyled and behave the same).
#3585 put a collection's backdrop and description on its web page, inside an inset rounded card with the catalog page's title, outline buttons and large count. It reads as a separate panel on the page, unlike the homepage's Featured hero that people see first. This change gives the collection page the homepage hero's look.
Approach
CollectionPageHerodraws the header on server and personal collection pages. Favorites, watchlist, history, genre and search pages keep their current header..hero-gradient-strongand.hero-gradient-left, the ambient glow tinted from the backdrop thumbhash, and the Ken Burns pan, which reduced motion turns off. It is shorter than the homepage hero, so the first row of posters shows without scrolling. On phones the art is dimmed so the description stays readable, and the action buttons wrap onto a second row when they don't fit.CollectionPageActions, which only this page uses.HeroBackdropArtworktakes an optionalimageStylefor the pan and dimming. The item detail hero doesn't pass it and is unchanged.Web only: no API change, and nothing for Apple, Android or jellycompat. The user manual's collection pages still describe the page correctly.
Validation
verify-local-pathsandverify-case-collisionspass. The Go checks were not run because no Go file changed.main, at desktop (1440) and phone (390) width, with collections opened from a library's Collections tab: a server collection with a description and a backdrop, and one with a description and no backdrop. No collection on that deployment has a backdrop, so for that case the browser added a film's backdrop to the Collections list response. Not checked by hand: the read-only Add to my Home view, a personal collection, and the pan (the captures ran with reduced motion).Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3734/
Surface and build: web app, desktop and phone width. Before:
mainat37aa92a8d5. After: this branch at3f724ab5ee, plus72d9bf511bfor the narrow-phone wrap. The page pairs before and after captures of the same two collections, one with a backdrop and one without, and a 280 px capture of the action row wrapping.Risks
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Give collection pages the homepage hero look with
CollectionPageHeroHeroBackdropArtwork,CollectionByline,CollectionPageActions, andDetailOverview, with ken-burns animation, ambient glow, and gradient layers. It supports optional Shuffle controls next to the collection actionsCatalogFiltersPanelas a title-count label with a loading flag, instead of showing it in the headerHeroBackdropArtworkgains an optionalimageStylepropMacroscope summarized 72d9bf5.