feat: MUSD-795 money home screen onboarding stepper#30226
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
0f9e1cc to
df9dfc0
Compare
0250e8a to
f3185ae
Compare
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #30226 +/- ##
==========================================
+ Coverage 81.95% 81.96% +0.01%
==========================================
Files 5446 5447 +1
Lines 145449 145528 +79
Branches 33223 33237 +14
==========================================
+ Hits 119209 119289 +80
Misses 18107 18107
+ Partials 8133 8132 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
brianacnguyen
left a comment
There was a problem hiding this comment.
since these components are not official yet, can you place them in the components-temp folder? Thank you
f3185ae to
8e228c0
Compare
…mentation in MoneyHomeView
…sh of step one for already funded Money accounts; fixed excessive padding when onboarding stepper isn\'t rendered
Co-authored-by: Matthew Grainger <Matt561@users.noreply.github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 85575da. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The changes are well-scoped to the Money/Card feature area with no impact on unrelated features like accounts, network management, snaps, or browser functionality. Performance Test Selection: |
|




Description
Introduces a step-by-step onboarding experience on the Money home screen, replacing the previous static
MoneyOnboardingCardwith a genericStepperCardcomponent backed by Redux state.Key changes:
StepperCard+SegmentedProgressBar— new reusable components that render a multi-step card with a visual progress bar, image slot, title/description, and primary/secondary CTAs. Designed to be product-agnostic; driven entirely by the caller viasteps[]+currentStepprops.Redux stepper state —
SET_ONBOARDING_STEPPER_STEPaction + reducer keyed bystepperId, so multiple independent steppers can coexist without new Redux fields per product.useMoneyOnboardingStep— thin hook that reads/writes the Money stepper step from Redux, exposingcurrentStepandincrementStep.MoneyConfirmationScreenStacksplit — the Money confirmation screens are now registered as a separateMoneyConfirmationScreenStackinMainNavigatorto prevent the bottom tab bar from rendering on Money confirmation screens.Added Money onboarding stepper reset to developer options — The Money onboarding stepper state can now be reset in the developer options.
Changelog
CHANGELOG entry: refactored the Money onboarding stepper; created generic StepperCard and SegmentedProgressBar component
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
https://www.loom.com/share/22884085e9184bb899772e3b7dbd7b34
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Medium Risk
Medium risk due to new persisted Redux state and navigation stack restructuring for Money (including a new confirmations root), which could impact onboarding visibility/progress and Money flow routing if miswired.
Overview
Replaces the Money home’s static onboarding card with a Redux-backed multi-step stepper that can auto-advance based on account balance and card-link status, and introduces reusable
StepperCard/SegmentedProgressBarcomponents to render step-based onboarding with primary/secondary CTAs.Adds generic onboarding stepper persistence via
onboardingStepperProgress(keyed bystepperId) plussetOnboardingStepperStepanduseOnboardingStep, including a dev option to reset Money’s stepper progress.Refactors Money navigation by splitting out a dedicated
Routes.MONEY.CONFIRMATIONS_ROOT+MoneyConfirmationScreenStack(no bottom tab bar) and updates Money deposit/withdraw confirmation routing accordingly; includes associated test updates and copy changes for the new stepper strings.Reviewed by Cursor Bugbot for commit 1a07b56. Bugbot is set up for automated code reviews on this repo. Configure here.