feat: adds a deeplink to whats happening#30030
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 088dc98. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
SmokeWalletPlatform: Selected because WhatsHappening is a section within the Trending tab, which is directly covered by SmokeWalletPlatform. The navigation params type change to SmokeSwap: Selected because it contains deeplink smoke tests ( No existing E2E tests specifically cover WhatsHappening deeplinks, so these tags provide the best coverage for regression testing the affected areas. Performance tests are not warranted as these are additive navigation/routing changes with no performance-sensitive code paths. Performance Test Selection: |
|




Description
Adds a deep-link to the new What's Happening page which always open the first card of the section.
whats-happening-deeplink.mp4
Changelog
CHANGELOG entry: no-changelog
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
Adds a new supported deep link action and routes it through the legacy universal-link handler into in-app navigation, which could affect deep link routing/analytics if misconfigured.
Overview
Adds support for a new
whats-happeningdeep link that navigates directly toRoutes.WHATS_HAPPENING_DETAILand marks the traffic source asWhatsHappeningSource.Deeplink.This wires the new action through deeplink constants/types, the legacy
handleUniversalLinkswitch/whitelist, and deep link analytics route mapping/extraction, with new unit tests for the handler and universal-link behavior. It also relaxesWhatsHappeningDetailViewparams soinitialIndexis optional (defaulting to0) and updates navigation typing/tests accordingly.Reviewed by Cursor Bugbot for commit 66792cc. Bugbot is set up for automated code reviews on this repo. Configure here.