Skip to content

fix(web): stop the featured hero backdrop from panning - #4002

Merged
Quick104 merged 1 commit into
mainfrom
fix/hero-backdrop-motion
Nov 11, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/hero-backdrop-motion

Conversation

@Quick104

@Quick104 Quick104 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: #3542
Validation tasks: none

The featured hero carousel on Home and on library Recommended pages slowly pans each slide's backdrop. In Firefox the pan stutters, and for people sensitive to motion it's movement on every page load that they can't turn off. #3542 asked to remove or limit the animation. After it closed, a commenter reported that Firefox still stutters and questioned whether the effect adds anything. This change removes the backdrop motion from the featured hero. Slides still crossfade and auto-advance.

Approach

HeroBanner no longer animates its backdrops. Without the motion, the code that kept a fading slide animated until its crossfade finished has no purpose, so it's gone too, and the active slide is now a single index. app.css drops the second pan animation, which only this hero used. Collection page heroes keep their pan; that surface is out of scope here.

One loading detail changes. When you switch slides, the outgoing slide no longer keeps requesting its backdrop for the length of the fade. This only matters if that image hadn't finished loading, in which case it was invisible during the fade anyway. A loaded backdrop is retained as before. Reduced-motion users already got this behavior.

Validation

  • Web lint, format check, build, and bundle budget: pass.
  • make test-web: pass. Motion-specific HeroBanner tests were removed along with the behavior they covered.
  • make verify-size-ratchet, make verify-bidi, make verify-local-paths: pass.
  • Go checks not run; the change touches no Go code.
  • Browser check against a shared dev backend, desktop (1440×900) and phone width (390×844), comparing main with this branch. Before: the active backdrop runs ken-burns-a, and 14–18% of hero pixels change over 4 seconds on one slide. After: no animation, and under 0.1% of pixels change. Crossfade and auto-advance still work.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/pr-4002/

Surface and build: web app, library Recommended page (same HeroBanner as Home), desktop and phone width; before is main at 2ee1b72, after is this branch.

Risks

None identified. Web only; no API or client contract change.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.
  • Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
  • The Evidence section shows every change a user can see, or says there is none.

AI Disclosure

  • Harness: T3 Code running Claude Code
  • Tool(s): Claude Code; Playwright for the browser captures
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated, human verified
  • Adversarial review: n/a

🤖 Generated with Claude Code

Note

Stop Ken Burns panning on featured hero backdrop slides

  • Removes the ken-burns-b keyframes, --animate-ken-burns-b token, and its reduced-motion override from app.css; the backdrop now uses only the ken-burns-a drift with a 3%-a-side overscan
  • Simplifies HeroBackdropSlide in HeroBanner.tsx: no per-slide animation style, slide indices, or will-change-transform hint. Navigation changes only the active index, and outgoing-slide tracking, fade timers, and related cleanup are gone
  • Backdrop URLs are now requested only for the active slide and, while shown, the next slide. Updates HeroBanner.test.tsx accordingly and drops the removed motion tests
  • Behavioral Change: navigation no longer fades an outgoing slide; it swaps the active backdrop immediately

Macroscope summarized f5274a4.

The featured hero carousel slowly panned each slide's backdrop. The motion
stutters in Firefox and adds movement users did not ask for. Slides now hold
still and keep their crossfade and auto-advance.

Removing the motion also removes the bookkeeping that kept a fading slide
animated until its crossfade ended, and the second pan animation that only
this hero used. Collection page heroes keep their pan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@silo-triage silo-triage Bot added the size/L 200–499 added + deleted lines (all files); change volume, not priority. label Nov 11, 2026
@silo-kody

silo-kody Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T22:51:04.156446Z f5274a4 PR opened
🔒 Security Review ✅ Completed 2026-11-11T22:53:03.848453Z f5274a4 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Hero backdrops no longer use Ken Burns motion or retain outgoing slides during fades. Navigation updates the active slide, and loading remains limited to the active slide and, while the hero is shown, its next slide.

Changes: Hero backdrop behavior

Layer / File(s) Summary
Backdrop navigation and rendering
web/src/components/HeroBanner.tsx, web/src/app.css, web/src/components/HeroBanner.test.tsx
Hero navigation updates the active slide directly, without outgoing-slide fade bookkeeping. Backdrop rendering loads the active slide and, while shown, the next slide. Ken Burns animation styles and tests for outgoing-slide motion were removed. The navigation test now checks the loaded first backdrop and the next slide after returning to the first slide.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

Suggested labels: javascript, size/M

Suggested reviewers: blurbery

Merge Risk: Minimal · up to f5274

The featured hero carousel no longer pans its backdrop, while crossfade and auto-advance continue. Collection page heroes keep their pan. No actionable merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the featured hero backdrop stops panning. It matches the summary (removal of Ken Burns pan from HeroBanner and app.css, with crossfade and auto-advance kept) and the o…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description states the change removes backdrop panning from the featured hero carousel, keeps crossfade and auto-advance, and removes the fading-slide bookkeeping. It also gives the linked issue, …
Full details: Title check

Explanation

The title names the main change: the featured hero backdrop stops panning. It matches the summary (removal of Ken Burns pan from HeroBanner and app.css, with crossfade and auto-advance kept) and the objectives. The 'fix(web):' prefix is a conventional-commit style scope and does not affect relevance.

Full details: Description check

Explanation

The description states the change removes backdrop panning from the featured hero carousel, keeps crossfade and auto-advance, and removes the fading-slide bookkeeping. It also gives the linked issue, validation steps, and a browser comparison. It matches the changeset in detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e6c79607-5d6d-47d2-8283-3905506947b1
Commits

Reviewing files that changed from the base of the PR and between 2ee1b72 and f5274a4.

Files selected for processing: 3

  • web/src/app.css
  • web/src/components/HeroBanner.test.tsx
  • web/src/components/HeroBanner.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot added javascript Pull requests that update javascript code size/M 50–199 added + deleted lines (all files); change volume, not priority. labels Nov 11, 2026
@silo-triage silo-triage Bot removed the size/M 50–199 added + deleted lines (all files); change volume, not priority. label Nov 11, 2026
@Quick104
Quick104 merged commit 265baa4 into main Nov 11, 2026
19 checks passed
@Quick104
Quick104 deleted the fix/hero-backdrop-motion branch November 11, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code size/L 200–499 added + deleted lines (all files); change volume, not priority.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant