fix(money): bottom sheet and how it works design review updates (MUSD-1018, MUSD-1017)#31998
Conversation
…-1018, MUSD-1017) - Render the coming soon tag inline with the action label in the Add funds and Send funds sheets (shared MoneySheetOptionsList) - Merge how it works and the mUSD token row into a single home section so no divider renders inside the banner
…MUSD-1017) - Override the DSRN MainActionButton vertical padding to py-3 so the Money action row matches the Home screen action buttons height - Give the how it works banner the 28px (pt-7) top spacing used by the other first-position home sections
|
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. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
All changes are scoped to the MetaMask Card/Money feature. SmokeMoney covers the card home screen, action buttons, and related flows. No controllers, core logic, shared navigation, or other feature areas are affected. No need for SmokeConfirmations, SmokeSwap, or SmokeWalletPlatform as these are purely visual/layout adjustments with no functional flow changes. Performance Test Selection: |
Description
Design-review polishes for the Money account home and action sheets:
MoneySheetOptionsList, so this is a single style change.pt-7(28px) top spacing convention already used by the other first-position home sections (e.g.MoneyEarnings), instead of the tighterpy-3.MainActionButtonvertical padding is overridden topy-3so both rows are identical height (no component-library usage introduced).Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/MUSD-1018
Fixes: https://consensyssoftware.atlassian.net/browse/MUSD-1017
Manual testing steps
Screenshots/Recordings
Before
After
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
Low Risk
Visual and section-composition tweaks only; no auth, payments, or data-path changes.
Overview
Design-review fixes for Money account home and shared bottom-sheet rows—layout and spacing only, no new flows or business logic.
Empty-state “How it works” block:
MoneyHowItWorksandMoneyMusdTokenRoware now one scroll section (fragment) instead of twocontentSectionsentries, so the homeDividerno longer sits between the banner body and the mUSD row while the divider below the combined block stays the same. Top padding on the banner changes frompy-3topt-7 pb-3to match other first sections (e.g. earnings).Action row: Add / Transfer / Card
MainActionButtons gettwClassName="py-3"so row height matches wallet Home.Add/Send sheets: In
MoneySheetOptionsList,disabledRowContentswitches from column to row with centered alignment so the Coming soon tag sits inline with the disabled label (Add funds and Send funds share this list).Reviewed by Cursor Bugbot for commit 6ed59e5. Bugbot is set up for automated code reviews on this repo. Configure here.