Skip to content

Soften the home boot stagger - #998

Merged
tiero merged 2 commits into
cursor/fix-swap-home-flicker-25ebfrom
cursor/smooth-home-stagger-25eb
Sep 15, 2026
Merged

tiero merged 2 commits into
cursor/fix-swap-home-flicker-25ebfrom
cursor/smooth-home-stagger-25eb

Conversation

@tiero

@tiero tiero commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

The first-load home stagger felt snappy: each block scaled and jumped 18px.

This only retimes that boot wave — 12px, no scale, a bit more overlap — so it lifts as one piece. Stacked on #995 so the stagger still plays only on real boot, not on swap-back.

Does not change swap → home transitions.

Open in Web Open in Cursor 

The first-load wave popped: each block scaled and jumped 18px, then the
action buttons scaled again inside that. Drop the scale, shorten the
travel, and overlap the children so it reads as one lift instead of
four distinct pops.
@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • next-version

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7c7ce78f-b8a4-45c0-86e3-e4b6258f1171

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Deploying wallet-mutinynet with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0e9262
Status: ✅  Deploy successful!
Preview URL: https://70ddd58f.arkade-wallet.pages.dev
Branch Preview URL: https://cursor-smooth-home-stagger-2.arkade-wallet.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Deploying wallet-bitcoin with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0e9262
Status: ✅  Deploy successful!
Preview URL: https://3dff13f3.wallet-bitcoin.pages.dev
Branch Preview URL: https://cursor-smooth-home-stagger-2.wallet-bitcoin.pages.dev

View logs

The action-button CSS runs under the boot overlay, so retiming it does
not change what you see. The visible wave is the home sections: drop
the scale, shorten the travel, and overlap them a bit more.
@tiero
tiero marked this pull request as ready for review September 15, 2026 18:52

@arkana-ai-bot arkana-ai-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arkana review — animations.ts, boot stagger soften

No protocol, security, or cross-repo concerns. This touches only UI animation timing.


What the change does

Property Before After
delayChildren 0.04 s 0.02 s
staggerChildren 0.09 s 0.07 s
Initial Y offset 18 px 12 px
Initial scale scale(0.985) removed
Child duration 0.34 s 0.48 s

The result: tighter wave, no scale pop, slower individual fade-up — reads as one lift rather than a cascade of pops. Matches the stated intent.


Checks

Reduced-motion / accessibility — both call-sites gate correctly on prefersReduced / useReducedMotion():

  • src/components/WalletLoadIn.tsx lines 17–25: short-circuits to a plain <div> — ✓
  • src/screens/Wallet/BitcoinDetail.tsx line 271 ff: passes undefined when prefersReduced — ✓
    No regression here.

Cross-repo impact — animations.ts is consumed only within wallet; no exported types, protos, or interfaces change. Other SDK repos (ts, go, rust, dotnet) are unaffected.

Stacking on #995 — PR body notes this depends on #995 (boot-only gate). The variants themselves are stateless; the gate lives at call-site, so merge order matters for correct behavior. Ensure #995 is merged first (or this is landed as a stack).


Minor observation (non-blocking)

src/lib/animations.ts:86–92 — the walletLoadInChild variants use a raw transform string (translate3d(0, 12px, 0)) rather than Framer Motion's native y prop. The rest of the file is consistent with this pattern so it's not a regression, but native props (y: 12 / omitting scale) would give FM's layout engine more information and are easier to diff in future. Worth a follow-up cleanup, not a blocker here.


Danger flag — "source changed with no test changes" is noted. Animation constants aren't meaningfully unit-testable; no action needed.

Verdict: no changes requested. Safe to merge once #995 is in.

@tiero
tiero merged commit 4a5024f into cursor/fix-swap-home-flicker-25eb Sep 15, 2026
8 checks passed
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.

3 participants