refactor(MusdConversionAssetListCta): enhance CTA component with full view support and update event tracking locations#27415
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. |
1d56895 to
d43ab2f
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27415 +/- ##
==========================================
+ Coverage 81.87% 81.90% +0.03%
==========================================
Files 4691 4699 +8
Lines 122275 122610 +335
Branches 26947 27052 +105
==========================================
+ Hits 100109 100429 +320
+ Misses 15221 15216 -5
- Partials 6945 6965 +20 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
5cfe7cb to
720ef20
Compare
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|
✅ E2E Fixture Validation — Schema is up to date |
|



Description
The
mUSD Conversion CTA Clickedevent inCashGetMusdEmptyStatealways sentlocation: 'home_cash_section', even when the CTA was tapped from the full Cash token list page.This PR adds a new
MOBILE_TOKEN_LIST_PAGEevent location and anisFullViewprop toCashGetMusdEmptyStateso the full-page context is reported correctly, while the homepage default (home_cash_section) remains unchanged:CashGetMusdEmptyState— acceptsisFullView; sendsmobile-token-list-pagewhen true, keepshome_cash_sectionotherwise.CashTokensFullView— passesisFullViewtoCashGetMusdEmptyState.Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TMCU-560
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: limited to analytics metadata and a new optional prop wiring for
CashGetMusdEmptyState, with updated unit coverage.Overview
Updates mUSD conversion CTA analytics so the
MUSD_CONVERSION_CTA_CLICKEDevent reports the correctlocationwhen triggered from the full Cash token list page.Adds
EVENT_LOCATIONS.MOBILE_TOKEN_LIST_PAGEand anisFullViewprop toCashGetMusdEmptyState, passes it fromCashTokensFullView, and extends tests to cover both homepage (home_cash_section) and full-view tracking.Written by Cursor Bugbot for commit 720ef20. This will update automatically on new commits. Configure here.