Skip to content

feat(mobile): animated loading state for the Now Playing waveform - #14812

Merged
dylanjeffers merged 1 commit into
mainfrom
feat/mobile-waveform-loading
Nov 21, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
feat/mobile-waveform-loading

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

The Now Playing waveform showed a thin flat rail while peaks loaded, then popped in. Now the bars themselves are the loading state:

  • While peaks load, the bars ripple in a low traveling wave (unplayed color; the progress fill and seeking still work over it).
  • When peaks settle, each bar grows from its wave height to its real height, staggered left to right over 0.7s.
  • Cached peaks show immediately with no wave. Reduce Motion keeps the bars still and swaps without animating. The wave only runs while the drawer is open.

Path d is driven by useAnimatedProps on the UI thread, so the animation doesn't re-render React.

Testing

Release sim build (iOS 26.5) with the JS swapped in and a temporary 4s delay on peaks: saw the wave move between frames, the reveal into the real shape, and the progress fill tracking playback after. Delay not included in this PR.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7b17674

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

While the peaks load, the bars ripple in a low wave instead of showing a
flat rail, then grow left to right into the real shape. Skips the wave
when peaks are cached and when Reduce Motion is on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dylanjeffers
dylanjeffers force-pushed the feat/mobile-waveform-loading branch from 5e3dcd4 to 7b17674 Compare November 21, 2026 16:29
@dylanjeffers
dylanjeffers merged commit 06a1d7e into main Nov 21, 2026
4 checks passed
@dylanjeffers
dylanjeffers deleted the feat/mobile-waveform-loading branch November 21, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant