Skip to content

Stabilize the homepage palm animation - #1579

Merged
manudeli merged 3 commits into
mainfrom
fix/homepage-palm-flicker
Nov 22, 2026
Merged

manudeli merged 3 commits into
mainfrom
fix/homepage-palm-flicker

Conversation

@manudeli

Copy link
Copy Markdown
Collaborator

What changed

  • Replace the animated WebP with a muted MP4 composited over the existing sky gradient and grain. The empty sky stays fixed as the palm moves.
  • Keep all 121 source frames at 24 fps and add four frames to smooth the loop. The inlined still stays visible until playback starts and for reduced motion.
  • The animation and still together shrink from 1.88 MB to 1.71 MB.

AS-IS / TO-BE

The side-by-side hero render shows the existing WebP on the left and the new loop on the right. Both include the same gradient and grain. Watch the blocks of sky around the fronds and the reset near five seconds.

palm-as-is-to-be.mp4

Verification

  • Type checking, lint, and both focused media tests passed locally. The full suite stopped when the test runner could not open its local IPC socket.
  • Decoded-frame checks covered the first-frame handoff, static sky, and loop reset.

@changeset-bot

changeset-bot Bot commented Nov 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4576216

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 21 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 384e58fb-8238-4207-9713-7d17d5894fde
Commits

Reviewing files that changed from the base of the PR and between 4befa72 and 4576216.

Files ignored due to path filters: 1

  • public/images/hero-palm-loop.mp4 is excluded by !**/*.mp4
Files selected for processing: 3

  • src/components/home/HeroPalmMedia.tsx
  • src/components/home/hero-palm-loop-still.webp
  • tests/hero-media.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 4576216 Commit Preview URL

Branch Preview URL
Nov 22 2026, 06:28 PM

@github-actions

Copy link
Copy Markdown
Asset Main PR merge build Change
JavaScript 19579.08 KiB 19578.66 KiB 🟢 -0.42 KiB (-0.00%)
JavaScript (gzip) 6443.42 KiB 6442.56 KiB 🟢 -0.87 KiB (-0.01%)
CSS 829.57 KiB 829.61 KiB 🔴 +0.04 KiB (+0.01%)
CSS (gzip) 126.88 KiB 126.90 KiB 🔴 +0.02 KiB (+0.02%)
Page Main (gzip) PR merge build (gzip) Change
/ 596.01 KiB 595.69 KiB 🟢 -0.32 KiB (-0.05%)
/libraries 538.67 KiB 538.67 KiB 🔴 +0.00 KiB (+0.00%)
/start/latest 563.46 KiB 563.45 KiB 🟢 -0.01 KiB (-0.00%)
/router/latest 563.76 KiB 563.75 KiB 🟢 -0.01 KiB (-0.00%)
/query/latest 562.21 KiB 562.21 KiB 🟢 -0.01 KiB (-0.00%)
/table/latest 595.02 KiB 595.02 KiB 🟢 -0.00 KiB (-0.00%)
/charts/latest 644.32 KiB 644.33 KiB 🔴 +0.00 KiB (+0.00%)
/ai/latest 589.14 KiB 589.12 KiB 🟢 -0.02 KiB (-0.00%)
Docs article 549.74 KiB 549.73 KiB 🟢 -0.01 KiB (-0.00%)
Framework docs article 549.74 KiB 549.73 KiB 🟢 -0.01 KiB (-0.00%)
/blog 542.88 KiB 542.88 KiB 🟢 -0.00 KiB (-0.00%)
/maintainers 541.96 KiB 541.97 KiB 🔴 +0.00 KiB (+0.00%)
/showcase 539.93 KiB 539.92 KiB 🟢 -0.00 KiB (-0.00%)
/chat 538.39 KiB 538.40 KiB 🔴 +0.00 KiB (+0.00%)
/chat/c/:conversationId 539.10 KiB 539.10 KiB 🔴 +0.00 KiB (+0.00%)

Page sizes sum the JS and CSS in the TanStack Start manifest for each route and its layouts. Shared files count once per page.

Compared with main at 4befa72. Gzip sizes are summed per file. Build run

@manudeli
manudeli merged commit 6aacefd into main Nov 22, 2026
11 checks passed
@manudeli
manudeli deleted the fix/homepage-palm-flicker branch November 22, 2026 18:37
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