Repository navigation
fix(web): show four rows of the season episode grid on desktop - #1850
Conversation
Since #1012, season pages and single-season series pages placed the episode grid in the viewport-bounded band under the hero, which gets at most min(22rem, 40%) of the window. On a 1641x778 desktop window that left about one row visible inside a small scroll box, instead of the four-row cap from #804. The band suits a one-row rail, not a grid that is the page's main content. #1717 already moved the season rail out of it on desktop: the page fills the screen and grows past it when the hero and navigation don't both fit. Apply that rule to every series and season page, so the episode grid flows below a content-sized hero and useGridRowCap limits it to four rows again. The episode page, short desktop windows and phones keep the bounded layout. Co-Authored-By: Claude Opus 5.5 (1M context) <[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:
|
Codex Review SummaryThis 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. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review. 📝 WalkthroughWalkthroughDesktop series detail pages now use content-sized layout rules at the specified viewport dimensions. The series navigation uses automatic height and visible overflow. ChangesSeries detail layout
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The desktop layout allows season content to grow while keeping longer episode grids capped and scrollable; multi-season carousel controls remain available. No concrete issue requiring a merge block is established. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Minor change: #1144 C1 is recorded as human-validated on build 941 · #1252 C2, C7, and C8 are still Not run; this is initial validation scope, not an earlier result to invalidate. Suggested corrected line: Automated check: Macroscope check run agent (gpt-6-luna). No validation was performed. Posted via Macroscope — v1 validation impact |
The branch's review-fix commit was built from a tree based on an older main, so it undid Silo-Server#1849, Silo-Server#1850 and other commits that had landed since. This restores main's version of every file outside the PR and regenerates the API contract artifacts on top of it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
* feat(catalog): state each episode's ratings in the season list The season list carried no rating, so a client showing a strip of episodes had to fetch every episode's detail to show its score. The episode rows the list already loads hold rating_imdb and rating_tmdb; state them as the title page does. * fix(catalog): state episode ratings in the title page's shape, v2 only Episodes now carry `ratings []CatalogRating`, built by ratingsources.Build like a title page's ratings, instead of raw rating_imdb/rating_tmdb floats. Build drops a stored 0 (unrated) and values off the 0-10 scale, so the season list no longer states scores the title page hides. The rating columns on the shared v1 episodeResponse are json:"-", keeping the frozen /api/v1 wire unchanged. Regenerates the OpenAPI document, contract fixtures and web types, adds tests for the mapping and the v1 wire, and documents the field in docs/catalog-api.md. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix: restore changes from main that an earlier merge reverted The branch's review-fix commit was built from a tree based on an older main, so it undid #1849, #1850 and other commits that had landed since. This restores main's version of every file outside the PR and regenerates the API contract artifacts on top of it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(catalog): build episode ratings without the rating-source policy An episode's ratings come only from its IMDb and TMDB columns, which every rating-source selection shows. Reading the policy on each episode listing could not change the output, and while the plugin source lookup keeps failing the policy is not cached, so every season page waited on a settings read and that lookup. episodesOf keeps the signature it has on main. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Quick104 <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Problem
Related issue: N/A
Validation tasks: reaches #1252 C2, C7, C8 (open, not run yet); no behavior change for #1144 C1
On desktop, season pages show about one row of episodes in a small scroll box. Before
#1012 the grid showed four rows (#804). Single-season series pages, which show their
episodes on the series page, have the same problem. This change restores the four-row
grid on both.
#1012 moved the episode grid into the viewport-bounded band under the hero, which gets
at most
min(22rem, 40%)of the window (45% on windows up to 800px tall). In a1641×778 window that leaves the grid 188px. The band was built for the one-row rails on
the episode and series pages; on a season page the grid is the main content.
Approach
#1717 already took the season rail out of the bounded band on desktop: the page fills
the screen and grows past it when the hero and navigation don't both fit. This change
applies that rule to every series and season page instead of only to pages with the
rail. The episode grid then sits below a content-sized hero, and
useGridRowCaplimitsit to four rows again, with the rest scrolling.
The rule keeps #1717's media query (at least 1024px wide and 651px tall). The episode
page, short desktop windows, and phones keep the layout from #1012. This reverses the
note in #1717 that episode grids stay bounded.
Validation
make test-web: passed.jsdom does not lay out CSS, so the browser checks below are what cover the change.
make verify-local-paths: passed.make verify-case-collisionswas not run (no Gotoolchain on this machine); the change adds no paths.
mainagainst this branch at1641×778: a 20-episode season goes from a 188px grid to all four rows; a 6-episode
single-season series goes from 188px to both rows. The multi-season rail matches
fix(web): show the whole season row on series detail pages #1717, and the season page at 1366×600 and 390×844 is unchanged.
server with a fixture-backed mock API: with 24 episodes, four of five rows show and
the rest scrolls.
Evidence: https://evidence.siloserver.org/r/silo-server/season-episode-grid/
Risks
Web layout only; no API, client, or Jellyfin changes. Season pages are longer on
desktop, so cast and crew sit further down. Safari and Firefox were not checked.
Checklist
AI Disclosure
🤖 Generated with Claude Code
Note
Fix desktop series detail layout to show full episode grid
Broadens the desktop layout rules in detailLayout.css so every
.series-detail-viewportgets the content-growing layout, not just viewports with a direct.series-detail-rail. The hero no longer has a max-height when a direct series-detail navigation is present, poster images are fixed at 330px, and the navigation and section use automatic height with visible overflow. Risk: viewports with a direct navigation child no longer constrain the hero height — check the desktop media query (min 1024px × 651px) if hero sizing regresses.Macroscope summarized d7cdb33.