-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: added deeplinking to the NFT screen #25426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
app/core/DeeplinkManager/handlers/legacy/handleUniversalLink.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Performance Test Selection: |
|


Description
The marketing team has asked for a deeplink to the NFTs screen/tab. After researching other components I found two kind of behaviors (taking users to the NFTs tab or taking users to the NFTs screen) and raised the question to the marketing team:

Here is the video I attached them (Sound ON):
https://github.com/user-attachments/assets/f7b563c2-8d54-4e77-8297-662469828a6e
Here is their response:

Therefore we will be navigating to the NFTs screen (not tab) whenever the deeplink is opened
Changelog
CHANGELOG entry: added deeplinking to the NFT screen
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/ASSETS-2570
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-01-30.at.10.36.25.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk: adds a new deeplink route and handler that only performs in-app navigation plus analytics route mapping, with tests covering the new handler’s error paths.
Overview
Adds support for the
/nftuniversal link action so marketing links likehttps://link.metamask.io/nftnavigate directly to the NFTs full view.Wires the new
ACTIONS.NFTthroughhandleUniversalLink, the supported-action/type lists, and deep-link analytics route extraction/mapping (no sensitive params extracted). Includes unit tests forhandleNftUrl, including fallback navigation toRoutes.WALLET.HOMEon errors.Written by Cursor Bugbot for commit c77e32b. This will update automatically on new commits. Configure here.