feat: MUSD-691 clean up deprecated quick convert code#29351
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. |
712603e to
08a8d56
Compare
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 08a8d56. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
The changes are a clean feature removal with no new functionality introduced. The risk is medium because multiple user-facing components were modified, and the navigation flow for mUSD conversion changed. No changes to core Engine, controllers, or critical infrastructure. The feature flag registry change removes two flags that were previously active in production. Performance Test Selection: |
|




Description
This PR removes the now deprecated Quick Convert code paths. We're keeping the Max convert bottom sheet and the
MusdConversionAssetRowcomponents to integrate into the Money Home screen.Changelog
CHANGELOG entry: remove deprecated quick convert feature code paths
Related issues
Fixes:
Manual testing steps
N/A
Screenshots/Recordings
Before
N/A
After
N/A
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 because it removes a navigation route/feature flag and rewires mUSD conversion CTAs and analytics to always use the custom-amount flow, which could affect user routing and event reporting if any remaining callers expected Quick Convert.
Overview
Removes the deprecated mUSD Quick Convert flow end-to-end: deletes
MusdQuickConvertView(andMusdBalanceCard), drops theMM_MUSD_QUICK_CONVERT_ENABLEDenv var, removes the quick-convert feature-flag selector/remote registry entries, and removes theRoutes.EARN.MUSD.QUICK_CONVERTroute.Updates mUSD conversion entry points (
useMusdConversion, education screen, cash/token list/asset CTAs) to stop passing/handlingnavigationOverrideand to always route/track redirects toCUSTOM_AMOUNT_SCREEN(while keeping the max-convert bottom sheet location constant).Renames
ConvertTokenRowtoMusdConversionAssetRowand updates downstream usage/tests (e.g., Money convert stablecoins, cash tokens skeleton) to use the new component/test IDs.Reviewed by Cursor Bugbot for commit 74947e7. Bugbot is set up for automated code reviews on this repo. Configure here.