feat: handle in app shield notification nav#39788
Merged
chaitanyapotti merged 3 commits intomainfrom Feb 5, 2026
Merged
Conversation
Contributor
✨ Files requiring CODEOWNER review ✨👨🔧 @MetaMask/core-extension-ux (1 files, +3 -7)
🔔 @MetaMask/notifications (1 files, +38 -3)
|
...s/notifications/notification-components/feature-announcement/annonucement-footer-buttons.tsx
Show resolved
Hide resolved
...s/notifications/notification-components/feature-announcement/annonucement-footer-buttons.tsx
Show resolved
Hide resolved
lionellbriones
approved these changes
Feb 4, 2026
lwin-kyaw
approved these changes
Feb 4, 2026
Contributor
Builds ready [77ce10f]
UI Startup Metrics (1359 ± 102 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Prithpal-Sooriya
approved these changes
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Handle in app navigation for shield feature announcement notification
Changelog
CHANGELOG entry: Shield notification in app navigation
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Screen.Recording.2026-02-04.at.19.46.32.mov
Pre-merge author checklist
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI routing change limited to Shield-specific carousel/notification IDs, with URL parsing guarded by try/catch. Main risk is a mis-match on IDs or query-param handling causing the CTA to do nothing or navigate incorrectly.
Overview
Routes Shield marketing entry points in-app instead of opening a new tab. Adds
SHIELD_ANNOUNCEMENT_NOTIFICATION_IDplus a shared helper (getShieldInAppNavigationFromExternalLink) that converts an external Shield URL into an internalSETTINGS_ROUTEnavigation withshowShieldEntryModaland preserved query params.Updates the Shield carousel card click handler to use the shared helper, and changes the feature-announcement external CTA so the Shield announcement notification uses
react-routernavigation (nohref/external icon) while still emitting the same analytics event.Written by Cursor Bugbot for commit 77ce10f. This will update automatically on new commits. Configure here.