Skip to content

perf(web): make media interactions consistently responsive - #59

Merged
blurbery merged 1 commit into
mainfrom
perf/brave-viewport-resize
Aug 28, 2026
Merged

blurbery merged 1 commit into
mainfrom
perf/brave-viewport-resize

Conversation

@blurbery

Copy link
Copy Markdown
Owner

What this fixes

Silo was noticeably less responsive away from Home. Hovering quickly across posters or controls could briefly slow the UI, detail pages made browser viewport changes feel like slow motion, and entering or backing out of seasons did not have the same clean flow as opening a series from Home. The season history path could also loop Series → Season → Series → Season.

What changed

  • completes the portable interaction-performance work from upstream PR perf(web): eliminate item detail interaction jank Silo-Server/silo-server#540 in the fork, without pulling in unrelated upstream changes
  • uses the same shared fast media-card hover path as Home for Continue Watching, seasons, episodes, recommendations, cast, trailers, related media, requests, and collections
  • replaces live backdrop sampling on shared interactive surfaces with opaque token-based surfaces
  • removes the viewport-sized detail artwork filter that re-rasterized during browser chrome and viewport animations
  • coalesces responsive virtual-grid measurement until resize activity settles
  • delays pointer-only prefetch until hover intent is clear, while keeping keyboard focus and touch immediate
  • narrows detail mutation subscriptions and batches media-surface invalidation work
  • makes detail popovers immediate and opaque, and keeps star hover CSS-only
  • uses view transitions for season and episode navigation
  • returns from a season through the existing series history entry and replaces direct-entry fallbacks, preventing the back-navigation loop
  • preserves reduced-motion behavior and avoids browser-specific user-agent checks

Validation

  • 142 focused interaction, query, CSS-contract, detail-page, and navigation tests pass
  • TypeScript project build passes
  • ESLint reports no errors
  • latest fork main and upstream main were fetched before publishing; upstream PR perf(web): eliminate item detail interaction jank Silo-Server/silo-server#540 was already present upstream, and this PR ports only the missing compatible work plus the new fork-specific fixes

AI disclosure

I identified the behavior, set the performance and navigation requirements, and implemented and guided this change with AI assistance. AI helped with code analysis, drafting, and test coverage; I directed the solution and remain responsible for the final implementation.

@blurbery
blurbery merged commit be0fb39 into main Aug 28, 2026
5 of 6 checks passed
@blurbery
blurbery deleted the perf/brave-viewport-resize branch August 28, 2026 04:12
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