chore: What's Happening UI/UX polish#29782
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. |
|
Inline comments are degraded (GH incident) |
Bigshmow
left a comment
There was a problem hiding this comment.
One comment related to deeplink consideration and possible null params, otherwise lgtm.
Agreed, that's a good hardening 👍🏼 I'll add it. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag selection rationale:
SmokeMoney was considered (TokenRow uses useRampNavigation for Buy flow), but the Buy button is a secondary action only shown when an asset has no Perps market. The changes don't modify the Ramp navigation logic itself, just call the existing hook. The risk to Ramp flows is low enough to not warrant SmokeMoney separately. The WhatsHappening feature is feature-flag gated (selectWhatsHappeningEnabled), which reduces blast radius, but the navigation integrations with Perps and the Trending tab warrant testing those flows. Performance Test Selection: |
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 7edb172. Configure here.
This comment was marked as outdated.
This comment was marked as outdated.
|




Description
Four small UI/UX fixes for the What's Happening feature:
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
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 changes navigation behavior for token action buttons (routing some assets to Perps) and alters carousel/card layout rendering based on runtime measurement, which could affect visibility/scroll positioning across devices.
Overview
Polishes What’s Happening UI by slightly increasing home carousel card heights, reducing card title lines to preserve footer/date visibility, and resizing the “View more” card to match.
Updates the detail view header to a custom, smaller layout and makes the expanded-card carousel use a fixed measured
cardHeight, gating card rendering and initial scroll positioning until layout is known; tests now simulateonLayoutto validate rendering.Changes related-asset actions so token rows show Trade (navigating to Perps market details) when
hlPerpsMarketis present, via newuseTradeNavigation;PerpsRowis simplified to reuse the same hook, andAssetRowmigrates to the design-systemButtoncomponent.Reviewed by Cursor Bugbot for commit 7edb172. Bugbot is set up for automated code reviews on this repo. Configure here.