feat: added developer options button to clear dismissed mUSD conversion asset details CTAs#29510
Conversation
…as to developer options menu
|
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. |
…n-cta-state-in-developer-settings
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 376130f. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
These changes are entirely within the Earn feature's developer options section. The mUSD (MetaMask USD stablecoin) feature is part of the Earn/staking functionality, which falls under SmokeTrade (DeFi trading and financial features). No shared components, navigation, confirmations, or core infrastructure are affected. The changes are additive and low-risk. SmokeTrade is selected as the most relevant tag since Earn/staking features are accessed via the Trade wallet actions menu. No other tags are warranted as the changes don't touch confirmations flows, account management, network management, or any other feature areas. Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |



Description
Added developer options button to clear dismissed mUSD conversion asset details CTAs. This allows easy resetting of this user state without reinstalling the app.
The mUSD conversion CTA displayed on the asset details screen does not reappear after the user dismisses it.
Changelog
CHANGELOG entry: added developer options button to clear dismissed mUSD conversion asset details CTAs.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
musd-727-clearing-dismissed-ctas-state-demo-after.mov
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
Developer-options-only state reset of a single user preference map; minimal surface area and covered by unit tests.
Overview
Adds a new Redux action (
CLEAR_MUSD_CONVERSION_ASSET_DETAIL_CTAS_SEEN) and action creator (clearMusdConversionAssetDetailCtasSeen) to wipe persisted mUSD asset-detail CTA dismissal state.Updates the user reducer to handle this action by resetting
musdConversionAssetDetailCtasSeento{}, and extends the mUSD developer options UI to show the current dismissed count and provide a button to clear it, with expanded unit tests covering rendering and dispatch behavior.Reviewed by Cursor Bugbot for commit bf99c87. Bugbot is set up for automated code reviews on this repo. Configure here.