metamask-extension
metamask-extension copied to clipboard
Adding Permissions Tour & Empty State
Description
This PR is for the conversion of the AllConnections component to the PermissionsPage component
Related issues
Fixes:https://github.com/MetaMask/MetaMask-planning/issues/1989
Manual testing steps
- yarn && MULTICHAIN=1 yarn start
- open fullscreen, add "#permissions" route to the end of the URL
- disconnect all dapps and verify empty state after no dapps are connected.
Screenshots/Recordings
Before
After
Pre-merge author checklist
- [X] I’ve followed MetaMask Coding Standards.
- [X] I've clearly explained what problem this PR is solving and how it is solved.
- [X] I've linked related issues
- [X] I've included manual testing steps
- [X] I've included screenshots/recordings if applicable
- [X] I’ve included tests if applicable
- [X] I’ve documented my code using JSDoc format if applicable
- [X] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
- [X] I’ve properly set the pull request status:
- [X] In case it's not yet "ready for review", I've set it to "draft".
- [X] In case it's "ready for review", I've changed it from "draft" to "non-draft".
Pre-merge reviewer checklist
- [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
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 [155fd19]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1393 ± 239 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 119 | 494 | 228 | 98 | 47 |
domContentLoaded | 8 | 104 | 42 | 28 | 13 | ||
load | 897 | 2724 | 1393 | 499 | 239 | ||
domInteractive | 8 | 104 | 42 | 28 | 13 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 176 Bytes (0.01%)
- ui: 1.65 KiB (0.02%)
- common: 375 Bytes (0.01%)
Builds ready [fc4355d]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (972 ± 65 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 132 | 369 | 203 | 47 | 23 |
domContentLoaded | 9 | 92 | 41 | 28 | 13 | ||
load | 831 | 1518 | 972 | 136 | 65 | ||
domInteractive | 9 | 92 | 41 | 28 | 13 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 176 Bytes (0.01%)
- ui: 1.56 KiB (0.02%)
- common: 375 Bytes (0.01%)
Codecov Report
Attention: 15 lines
in your changes are missing coverage. Please review.
Comparison is base (
80d0822
) 68.55% compared to head (cea6a2c
) 68.53%. Report is 1 commits behind head on develop.
Additional details and impacted files
@@ Coverage Diff @@
## develop #22905 +/- ##
===========================================
- Coverage 68.55% 68.53% -0.02%
===========================================
Files 1088 1088
Lines 42925 42939 +14
Branches 11417 11424 +7
===========================================
+ Hits 29424 29426 +2
- Misses 13501 13513 +12
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Builds ready [857ff66]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1075 ± 44 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 134 | 267 | 194 | 34 | 17 |
domContentLoaded | 9 | 76 | 34 | 26 | 12 | ||
load | 967 | 1324 | 1075 | 91 | 44 | ||
domInteractive | 9 | 76 | 34 | 26 | 12 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 176 Bytes (0.01%)
- ui: 1.56 KiB (0.02%)
- common: 375 Bytes (0.01%)
Builds ready [6b4a4f2]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1061 ± 52 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 122 | 371 | 192 | 59 | 28 |
domContentLoaded | 9 | 80 | 38 | 26 | 12 | ||
load | 845 | 1308 | 1061 | 108 | 52 | ||
domInteractive | 9 | 80 | 38 | 26 | 12 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 176 Bytes (0.01%)
- ui: 1.3 KiB (0.02%)
- common: 375 Bytes (0.01%)
Builds ready [cea6a2c]
- builds: chrome, firefox
- builds (beta): chrome
- builds (flask): chrome, firefox
- builds (MMI): chrome, firefox
- builds (test): chrome, firefox
- builds (test-flask): chrome, firefox
- build viz: Build System
- mv3: Background Module Init Stats
- mv3: UI Init Stats
- mv3: Module Load Stats
- mv3: Bundle Size Stats
- mv2: E2e Actions Stats
- code coverage: Report
- storybook: Storybook
- typescript migration: Dashboard
- all artifacts
Page Load Metrics (1065 ± 59 ms)
Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
---|---|---|---|---|---|---|---|
Chrome | Home | firstPaint | 119 | 336 | 208 | 52 | 25 |
domContentLoaded | 13 | 100 | 35 | 25 | 12 | ||
load | 845 | 1407 | 1065 | 123 | 59 | ||
domInteractive | 13 | 100 | 35 | 25 | 12 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 176 Bytes (0.01%)
- ui: 1.31 KiB (0.02%)
- common: 462 Bytes (0.01%)