feat: Notifications analytics
Description
This PR is about the events to track for the use of notifications.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
- [x] I’ve followed MetaMask Coding Standards.
- [x] I've completed the PR template to the best of my ability
- [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.
Pre-merge reviewer checklist
- [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
- [x] 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 [029d52f]
- 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 (1723 ± 586 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 76 | 193 | 118 | 39 | 19 |
| domContentLoaded | 10 | 58 | 16 | 10 | 5 | ||
| load | 62 | 3045 | 1723 | 1220 | 586 | ||
| domInteractive | 10 | 58 | 16 | 10 | 5 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 7.04 KiB (0.10%)
- common: 860 Bytes (0.01%)
Codecov Report
Attention: Patch coverage is 55.81395% with 19 lines in your changes are missing coverage. Please review.
Project coverage is 65.99%. Comparing base (
de2f656) to head (d3e79ac). Report is 1 commits behind head on develop.
Additional details and impacted files
@@ Coverage Diff @@
## develop #24751 +/- ##
===========================================
- Coverage 66.00% 65.99% -0.01%
===========================================
Files 1348 1348
Lines 52503 52546 +43
Branches 13494 13498 +4
===========================================
+ Hits 34651 34674 +23
- Misses 17852 17872 +20
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Builds ready [9ddae7c]
- 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 (796 ± 540 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 68 | 161 | 92 | 24 | 11 |
| domContentLoaded | 9 | 28 | 13 | 5 | 3 | ||
| load | 56 | 3259 | 796 | 1124 | 540 | ||
| domInteractive | 9 | 28 | 13 | 5 | 3 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 7.01 KiB (0.10%)
- common: 860 Bytes (0.01%)
Builds ready [fe22bc8]
- 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 (757 ± 507 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 61 | 128 | 93 | 19 | 9 |
| domContentLoaded | 9 | 21 | 13 | 4 | 2 | ||
| load | 49 | 2565 | 757 | 1055 | 507 | ||
| domInteractive | 9 | 21 | 13 | 4 | 2 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 7.01 KiB (0.10%)
- common: 860 Bytes (0.01%)
Builds ready [6aff85d]
- 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 (1019 ± 567 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 59 | 201 | 93 | 34 | 16 |
| domContentLoaded | 8 | 34 | 13 | 6 | 3 | ||
| load | 46 | 2807 | 1019 | 1181 | 567 | ||
| domInteractive | 8 | 34 | 13 | 6 | 3 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 7.01 KiB (0.10%)
- common: 860 Bytes (0.01%)
Builds ready [10be306]
- 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 (785 ± 479 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 55 | 149 | 88 | 24 | 12 |
| domContentLoaded | 8 | 64 | 13 | 12 | 6 | ||
| load | 44 | 2701 | 785 | 997 | 479 | ||
| domInteractive | 8 | 64 | 13 | 12 | 6 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 7.01 KiB (0.10%)
- common: 860 Bytes (0.01%)