Skip to content

[energy-only] revamp loading splash screen with animated checkmark steps#30

Merged
divazbozz merged 8 commits intomainfrom
david/geng-138-loading-screen-revamp
Mar 6, 2026
Merged

[energy-only] revamp loading splash screen with animated checkmark steps#30
divazbozz merged 8 commits intomainfrom
david/geng-138-loading-screen-revamp

Conversation

@divazbozz
Copy link
Contributor

@divazbozz divazbozz commented Mar 5, 2026

Goal

new splash screen design from Holland

image

What changed

EnergyOnlySplashModal.tsx

  • Three steps tick off sequentially at t=1s, t=2s, t=3s — redirect fires on the last tick
  • Custom CheckIcon component: filled green circle with checkmark (complete) vs grey outline circle (pending), using the provided design asset paths

styles.module.css

  • New splash-specific classes: splashOverlay, splashCard, splashSpinner, splashSteps, splashStep, splashStepLabel, splashStepLabelComplete

Mobile jitter fix

When a step completes, the label switches from font-weight: 500700. Bold text is wider, which would normally resize the container and shift the layout.

Fix: splashStepLabel::after renders an invisible bold ghost of the label text (height: 0; visibility: hidden; font-weight: 700; content: attr(data-label)). The element always occupies bold width, so the container never resizes when the state transitions — no layout shift.

Test

mobile.mov
desktop.web.mov

🤖 Generated with Claude Code


Open with Devin

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link

coderabbitai bot commented Mar 5, 2026

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include rabbit in the PR description. 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: Pro

Run ID: 070196f4-c511-4916-961f-03373e3c3649

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch david/geng-138-loading-screen-revamp

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

devin-ai-integration[bot]

This comment was marked as resolved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
devin-ai-integration[bot]

This comment was marked as resolved.

@divazbozz divazbozz requested a review from lukejosephy March 5, 2026 20:19
divazbozz and others added 2 commits March 5, 2026 14:49
The 300ms redirect setTimeout was not being cleared by the effect
cleanup, which could fire onRedirect after the component unmounts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
divazbozz and others added 2 commits March 5, 2026 19:37
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@divazbozz divazbozz force-pushed the david/geng-138-loading-screen-revamp branch from e9a254c to 555a64c Compare March 6, 2026 04:27
@divazbozz divazbozz merged commit 44e0bf6 into main Mar 6, 2026
2 checks passed
@divazbozz divazbozz deleted the david/geng-138-loading-screen-revamp branch March 6, 2026 04:33
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.

2 participants