feat: Update musd calculator#27949
Conversation
This prevents the deeplink interstitial
|
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. |
It's mUSD for all
|
✅ E2E Fixture Validation — Schema is up to date |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Why no E2E tags are selected:
The risk is low and no existing E2E tests cover this specific feature area. Performance Test Selection: |
|



Description
This PR provides some minor fixes and improvements to the mUSD calculator:
Changelog
CHANGELOG entry: null
Related issues
Fixes: n/a
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Medium risk because it changes the mUSD swap action from a deeplink to in-app swap navigation and adjusts rewards state rehydration/selectors to tolerate missing campaign status data, which could affect routing and campaign UI behavior if misconfigured.
Overview
Updates the mUSD calculator header to use a new localized
rewards.musd.page_titlestring and tweaks layout by moving the disclaimer to the bottom with updated styling.Replaces the Swap button’s deeplink (
link.metamask.io/swap) with in-app swap navigation viauseSwapBridgeNavigation, preconfiguring ETH→mUSD tokens, and updates tests accordingly.Hardens Rewards redux state handling by defaulting
campaignParticipantStatusesto{}on rehydrate and making related selectors null-safe, preventing crashes when the field is missing from persisted payloads.Written by Cursor Bugbot for commit fc1814e. This will update automatically on new commits. Configure here.