chore: Market Insights design review cp-7.70.0#27259
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. |
…obile into TSA-design-qa-points
joaosantos15
left a comment
There was a problem hiding this comment.
code looks good, but hold for now because we're reviewing the animation :)
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #27259 +/- ##
==========================================
+ Coverage 81.97% 82.19% +0.21%
==========================================
Files 4699 4747 +48
Lines 122881 123227 +346
Branches 27126 27263 +137
==========================================
+ Hits 100737 101289 +552
+ Misses 15167 14954 -213
- Partials 6977 6984 +7 ☔ 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.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: There are no changes to controllers, Engine, confirmations, transactions, network permissions, swaps, perps, predictions transaction flows, or account management. Therefore, other tags such as SmokeConfirmations, SmokeTrade, SmokePerps, SmokePredictions, SmokeAccounts, SmokeNetworkAbstractions, etc., are not required. jest.config.js and mocks updates affect unit testing and media handling but do not impact E2E runtime flows directly. Thus, running SmokeWalletPlatform provides sufficient coverage with minimal unnecessary test execution. Performance Test Selection: |
Needs to be merged now for the nightly build.
|
✅ E2E Fixture Validation — Schema is up to date |
|




Description
Updates a few design elements In Market Insights.
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Medium Risk
Adds new Buy navigation and CAIP-asset parsing from Market Insights, plus a
react-native-videobackground; these touch navigation/asset-id construction and could break CTAs or tests if ramp/swap inputs are wrong.Overview
Updates the Market Insights full-screen view to include an auto-playing light/dark background video and replaces the single Trade CTA with side-by-side Swap and Buy buttons. Swap interaction tracking is renamed from
tradetoswap, and a newbuyinteraction event is tracked; Buy routes through ramp navigation with best-effortassetIdderivation from the token address/chain.Polishes several Market Insights components/styles (entry card header/disclaimer layout, icon sizing, feedback copy/typography, bottom sheet source list spacing) and tweaks behavior so tapping a source closes the trend sources sheet. Tests and Jest config are updated accordingly, including new mocks for
.mp4assets andreact-native-video.Written by Cursor Bugbot for commit d1e6ce2. This will update automatically on new commits. Configure here.