Skip to content

fix(web): keep season episodes in a carousel - #56

Merged
blurbery merged 1 commit into
mainfrom
fix/season-episode-carousel
Aug 28, 2026
Merged

blurbery merged 1 commit into
mainfrom
fix/season-episode-carousel

Conversation

@blurbery

Copy link
Copy Markdown
Owner

Problem

Season detail pages render episodes in a wrapping grid. Longer seasons add extra rows, increase the section height, and can leave the season hero/header cut off above the viewport.

Approach

Render the existing season episode cards inside Silo's shared MediaCarousel. This reuses the same Embla carousel and wheel-gesture plugin as home-screen sections, keeping episodes to one horizontal row while preserving lazy image loading, overlays, progress, menus, and metadata. The shared carousel now supports hiding its own header when an existing parent heading is already present.

No API, database, backend, or client contract changes are involved.

Verification

  • Regression test: failed on main because no media carousel existed; passes with the change
  • corepack pnpm exec vitest run src/pages/ItemDetail --reporter=dot — 23 files / 190 tests passed
  • corepack pnpm run lint — passed with 0 errors (pre-existing warnings only)
  • corepack pnpm run format:check — passed
  • corepack pnpm run build — passed
  • make verify-local-paths — passed
  • git diff --check — passed

Performance and compatibility

  • Reuses the already-loaded Embla and wheel-gesture code; no new dependency or duplicate carousel implementation
  • Keeps existing lazy-loaded episode artwork
  • Reduces season-page layout/paint height from multiple rows to one row
  • Uses the same pointer, touch, trackpad, mouse-wheel, keyboard, and arrow behavior as existing home-screen carousels
  • Browsers without content-visibility retain the normal rendering path

Adversarial review

Manual adversarial diff review found no material correctness, accessibility, or performance issue. The change is limited to the existing shared carousel and season episode presentation.

Risks & follow-up

Low-risk presentation-only change. Before/after visual evidence will be captured on the user's test deployment before any upstream PR is opened.

Related issue: N/A — narrow fix

AI-use disclosure

Implemented with OpenAI Codex on behalf of the repository owner, with targeted tests and build verification.

@blurbery
blurbery merged commit 926511d into main Aug 28, 2026
3 checks passed
@blurbery
blurbery deleted the fix/season-episode-carousel branch November 6, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant