Repository navigation
fix(web): keep season episodes in a carousel - #56
Merged
Merged
Conversation
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mainbecause no media carousel existed; passes with the changecorepack pnpm exec vitest run src/pages/ItemDetail --reporter=dot— 23 files / 190 tests passedcorepack pnpm run lint— passed with 0 errors (pre-existing warnings only)corepack pnpm run format:check— passedcorepack pnpm run build— passedmake verify-local-paths— passedgit diff --check— passedPerformance and compatibility
content-visibilityretain the normal rendering pathAdversarial 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.