Skip to content

feat(web): give a collection page the homepage hero's look - #3734

Merged
Quick104 merged 2 commits into
mainfrom
feat/collection-page-hero
Nov 9, 2026
Merged

Quick104 merged 2 commits into
mainfrom
feat/collection-page-hero

Conversation

@Quick104

@Quick104 Quick104 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

  • A new CollectionPageHero draws the header on server and personal collection pages. Favorites, watchlist, history, genre and search pages keep their current header.
  • With a backdrop, the art starts at the top of the page, spans the content column, and runs behind the title and the filter bar before fading into the grid. It reuses the homepage hero's .hero-gradient-strong and .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.
  • The title uses the hero's type under a "Collection" eyebrow. The description keeps the three-line clamp with More. A collection without a description no longer shows the generic catalog subtitle.
  • Shuffle becomes the primary pill. Edit, Add to my Home and More actions become glass pills in CollectionPageActions, which only this page uses.
  • The count moves into the filter bar's existing result count ("100 titles"), which shows its spinner until the first page loads.
  • HeroBackdropArtwork takes an optional imageStyle for 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

  • Web: lint, format check, build, bundle budget and the full web suite pass. verify-local-paths and verify-case-collisions pass. The Go checks were not run because no Go file changed.
  • No new tests: the change is layout and styling.
  • Manual: this branch's web app against a deployment running 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: main at 37aa92a8d5. After: this branch at 3f724ab5ee, plus 72d9bf511b for 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

  • The backdrop layer's top offsets mirror the layout's top padding and the catalog page's own. If either changes, the art starts too low or too high. A comment at the offsets says so.
  • Collection pages without a description lose the generic subtitle line.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • 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
  • Model(s): claude-opus-5-5
  • Involvement: AI-assisted. I chose the design from mockups; the AI implemented and verified it.
  • Adversarial review: n/a

🤖 Generated with Claude Code

Note

Give collection pages the homepage hero look with CollectionPageHero

  • Adds CollectionPageHero.tsx, a new collection header that reuses HeroBackdropArtwork, CollectionByline, CollectionPageActions, and DetailOverview, with ken-burns animation, ambient glow, and gradient layers. It supports optional Shuffle controls next to the collection actions
  • Restyles collection actions in CollectionPageActions.tsx as glass hero pills, with the More trigger as a circular icon pill
  • Refactors Catalog.tsx to use the new hero, moving the exact collection count into CatalogFiltersPanel as a title-count label with a loading flag, instead of showing it in the header
  • Behavioral Change: collection headers no longer show a default subtitle when the header is ready but has no description; descriptions are omitted entirely until header data is ready; HeroBackdropArtwork gains an optional imageStyle prop

Macroscope summarized 72d9bf5.

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]>
@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Nov 9, 2026
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

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: 6cecf69c-fe89-4ef8-829f-98f50270170d
Commits

Reviewing files that changed from the base of the PR and between 8487cd7 and 72d9bf5.

Files selected for processing: 4

  • web/src/components/HeroBackdropArtwork.tsx
  • web/src/components/collections/CollectionPageActions.tsx
  • web/src/components/collections/CollectionPageHero.tsx
  • web/src/pages/Catalog.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@silo-kody

silo-kody Bot commented Nov 9, 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 ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T16:12:59.591784Z 3f724ab PR opened
🔒 Security Review ✅ Completed 2026-11-09T16:14:29.763446Z 3f724ab 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.

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

silo-kody Bot commented Nov 9, 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 ❌
⚠️ 5 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility
  • Retain distributed firing claims through their own validity windows

@silo-triage silo-triage Bot added enhancement New feature or request impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish labels Nov 9, 2026
@Quick104
Quick104 merged commit c727c26 into main Nov 9, 2026
23 checks passed
@Quick104
Quick104 deleted the feat/collection-page-hero branch November 9, 2026 19:19
@zZebrahz zZebrahz mentioned this pull request Nov 10, 2026
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request impact: polish Annoyance, cosmetic, or nice-to-have javascript Pull requests that update javascript code priority: P2 Limited scope, workaround exists, or polish size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant