-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: Show correct origins when snaps use wallet_requestSnaps
#26715
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. |
Builds ready [8e9f0c5]
Page Load Metrics (69 ± 9 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26715 +/- ##
===========================================
+ Coverage 70.14% 70.16% +0.02%
===========================================
Files 1424 1425 +1
Lines 49572 49580 +8
Branches 13868 13869 +1
===========================================
+ Hits 34769 34787 +18
+ Misses 14803 14793 -10 ☔ View full report in Codecov by Sentry. |
Builds ready [99ffde8]
Page Load Metrics (1808 ± 93 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js
Outdated
Show resolved
Hide resolved
ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js
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.
LGTM - but please update the PR title to be more accurate to the changes in the PR!
ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js
Outdated
Show resolved
Hide resolved
wallet_requestSnaps
wallet_requestSnaps
ui/pages/permissions-connect/snaps/snaps-connect/snaps-connect.js
Outdated
Show resolved
Hide resolved
Builds ready [53f11f8]
Page Load Metrics (1718 ± 87 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [3a8b268]
Page Load Metrics (1951 ± 83 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Quality Gate passedIssues Measures |
Builds ready [ba5453a]
Page Load Metrics (1807 ± 84 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions:
wallet_requestSnaps
to be called by other snaps and needed to update the UI to correctly show the snap origin.Related issues
Fixes MetaMask/snaps#2611
Screenshots/Recordings
Before
After
Screen.Recording.2024-08-27.at.3.00.52.PM.mov
NOTE: The copy was updated to "Connected Snaps" and "Connected sites and Snaps".
Pre-merge author checklist
Pre-merge reviewer checklist