feat: added deeplinking to the NFT screen#25426
Conversation
app/core/DeeplinkManager/handlers/legacy/handleUniversalLink.ts
Outdated
Show resolved
Hide resolved
🔍 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.