Repository navigation
Closed
Description
What happened
I reproduced several connected detail-page problems on a real Docker deployment:
- A season with many episodes wrapped its cards into extra rows. That made the section taller and could push or clip the compact hero's breadcrumb, title, metadata, and actions.
- Detail-heavy TV show, season, episode, and movie pages made Brave's own browser-chrome sidebar animation, the resulting viewport resize, page scrolling, and pointer movement visibly laggy. Home stayed smooth under the same interaction. Lanterns was one repeatable stress case, not the only affected title.
- Opening a season from a series and pressing Back felt shorter and more jagged than opening a movie/show from Home and returning to Home. Destination cards and text appeared during the last frames, and the earlier history handling had also allowed a Series/Season Back loop.
The target is the Season 4-style layout: a complete hero, one horizontal episode row, retained hero/background artwork, smooth browser viewport changes, and the same navigation motion in both directions.
Broken: 12-episode view
Desired: Season 4 layout
Steps to reproduce
Season layout
- Open a multi-season series in the Web UI.
- Open a season with about 12 episodes.
- Observe the episode cards wrapping and compare the hero with the Season 4 reference above.
Browser-sidebar lag
- Open Home in Brave and open/close Brave's built-in browser sidebar while scrolling.
- Repeat across multiple TV show, season, episode, and movie detail pages. Include a one-season series such as Lanterns, where episodes render directly on the series view.
- Scroll and move the pointer quickly over cards and controls while the content viewport is narrow.
Nested transition
- From Home, open a movie/show and press Back to establish the working transition.
- Open a multi-season series, choose a season, and press the page Back button.
- Compare route commit, page motion, and when the destination cards/text become visible.
- Repeat Back/forward navigation and confirm the browser returns to the correct history entries without looping between Series and Season.
Expected behavior
- Season episodes remain in one horizontal carousel with the existing pointer, touch, wheel, keyboard, and arrow controls.
- Blank carousel track space uses the normal cursor; only interactive items use the pointer.
- Compact heroes grow for long content and retain hero/background artwork.
- Home and detail pages remain responsive while browser chrome changes the content viewport, while scrolling, and during rapid pointer movement.
- Series → Season and Season → Series use the same
196px,300ms,cubic-bezier(0.32, 0.72, 0, 1)compositor behavior as Home's detail transition, including the same lightweight-shell handoff. - Reduced-motion users get immediate navigation, unsupported browsers fall back safely, and browser history remains correct.
Environment
- Deployment: Docker, signed-in production Web UI
- Browsers/coverage: Brave reproduction; Google Chrome DevTools MCP/CDP profiling; desktop responsive widths and
390×844mobile/touch emulation - Affected examples: Home baseline; multiple TV shows, seasons, episodes, and movie detail pages; Lanterns; Silo multi-season series and seasons; forward navigation; and Back
- Fixed deployment: build-106 / revision
43d8c1c9, immutable digestsha256:23bd683f73e71c156ba2d08c795a6d993d39a24a5da972242e626bff5cad0098
Relevant logs
no application or browser errors were observed — this was a rendering, compositing, layout, and navigation-timing issue measured with Chrome DevTools tracesTechnical notes
Google Chrome DevTools responsive-width traces isolated two different causes:
- Lanterns' clipped Embla episode track and cards were repeatedly included in document paint during browser-chrome viewport animation. Viewport/card containment reduced episode-track paint by
39.1%, total Paint by16.6%, and the largest graphics-pipeline slice by75.1%without removing artwork. - The nested transition initially used the right CSS values but expanded the destination tree during the final frames. Holding the 96-element shell through the full motion removed a
114.6msframe gap; both directions then stayed below20msper frame in the measured run. - Back navigation now distinguishes native history traversal from ordinary links. A real POP can accept the browser's actual entry when stored provenance is unavailable, but push/replace navigation still waits for its exact route so a stale intermediate commit cannot clear or finish the intended animation. The season error state uses the same history-reuse/direct-entry-replace behavior as the normal header Back action.
The corresponding upstream implementation is in #805. Related upstream foundations are #504 and #540. Fork implementation history is linked in the PR description.
AI Disclosure
- Tool(s): OpenAI Codex desktop
- Model(s): GPT-5
- Involvement: AI-assisted — I reproduced the bugs, directed the investigation, set the acceptance criteria, tested and approved the production behavior, and reviewed the final result. Codex assisted with Chrome DevTools profiling, implementation, tests, commands, upstream-port review, and drafting.
- Adversarial review: The final upstream diff was independently reviewed against current upstream and the production fork for navigation/history regressions, reduced-motion and browser fallbacks, carousel layout and cursor behavior, retained quick actions, and accidental fork-only changes. Findings were resolved before publication.
Confirmations
- I reproduced this myself on a real deployment.
- The measurements above came from real Chrome DevTools traces and direct interaction checks.
- No application logs were available because no application error occurred.
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-][bug] Season detail pages wrap episodes and clip compact heroes[/-][+][bug] Detail pages wrap content and lag during resize and nested navigation[/+]fix(web): cap the season episode grid at four scrolling rows
fix(web): show four rows of the season episode grid on desktop (#1850)