fix: MUSD-696 fix money hub deeplink navigation cp-7.74.0#29288
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. |
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 69aefcf. Configure here.
d0fbbe3
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |




Description
Fixes invalid deeplink navigation for Money Hub feature.
Changelog
CHANGELOG entry: fixes invalid deeplink navigation for Money Hub feature.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
fixed_money_hub_incorrect_deeplink_navigation.mov
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
Changes deeplink and education-screen navigation decisions for mUSD, including geo-eligibility gating and a new Money Hub redirect path; incorrect conditions could send users to the wrong screen or bypass intended compliance blocking.
Overview
Fixes
earn-musddeeplink behavior by routing users who have already seen the mUSD education screen directly to Money Hub (Routes.WALLET.CASH_TOKENS_FULL_VIEW) when the Money Hub flag is enabled and the user is geo-eligible; otherwise it falls back toRoutes.WALLET.HOME.Updates the mUSD conversion education screen to support a new deeplink action
navigate_money_hub(including analyticsredirects_to), and changes the secondary "Not now" behavior to pop the screen and redirect to Money Hub only for deeplink + geo-eligible + flag-enabled cases.Refactors geo-eligibility computation into a new memoized selector
selectIsMusdConversionGeoEligible(with tests) and wiresuseMusdConversionEligibilityto use it; several unrelated tests were updated to mockgetDetectedGeolocation/selectMusdConversionBlockedCountries.Reviewed by Cursor Bugbot for commit 78d390a. Bugbot is set up for automated code reviews on this repo. Configure here.