feat: Add new content on the STX status page
Description
On the STX status page you will now see this text for a pending dapp transaction: You may close this window anytime.
TODOs:
- Add tests
Related issues
Fixes:
Manual testing steps
- Go to a dapp and submit a transaction with STX enabled
- On the STX status page you will see this text for a pending dapp transaction:
You may close this window anytime. - The text will be replaced with the
Close extensionbutton when the transaction is not pending anymore
Screenshots/Recordings
Pre-merge author checklist
- [ ] I’ve followed MetaMask Coding Standards.
- [ ] I've completed the PR template to the best of my ability
- [ ] I’ve included tests if applicable
- [ ] I’ve documented my code using JSDoc format if applicable
- [ ] I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
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 [d2aa0b6]
- 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 (169 ± 203 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 64 | 125 | 86 | 14 | 7 |
| domContentLoaded | 8 | 39 | 11 | 7 | 3 | ||
| load | 53 | 2013 | 169 | 423 | 203 | ||
| domInteractive | 8 | 39 | 11 | 7 | 3 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 305 Bytes (0.00%)
- common: 65 Bytes (0.00%)
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 65.78%. Comparing base (
82fe51c) to head (ca36630).
Additional details and impacted files
@@ Coverage Diff @@
## develop #24772 +/- ##
===========================================
+ Coverage 65.77% 65.78% +0.01%
===========================================
Files 1366 1366
Lines 54238 54244 +6
Branches 14108 14109 +1
===========================================
+ Hits 35670 35680 +10
+ Misses 18568 18564 -4
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Builds ready [ad7d112]
- 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 (679 ± 509 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 73 | 150 | 92 | 22 | 10 |
| domContentLoaded | 9 | 20 | 11 | 3 | 1 | ||
| load | 60 | 3101 | 679 | 1061 | 509 | ||
| domInteractive | 9 | 20 | 11 | 3 | 1 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 278 Bytes (0.00%)
- common: 65 Bytes (0.00%)
Builds ready [ca36630]
- 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 (544 ± 455 ms)
| Platform | Page | Metric | Min (ms) | Max (ms) | Average (ms) | StandardDeviation (ms) | MarginOfError (ms) |
|---|---|---|---|---|---|---|---|
| Chrome | Home | firstPaint | 67 | 183 | 99 | 32 | 16 |
| domContentLoaded | 9 | 25 | 13 | 5 | 2 | ||
| load | 55 | 2646 | 544 | 947 | 455 | ||
| domInteractive | 9 | 25 | 13 | 5 | 2 |
Bundle size diffs [🚨 Warning! Bundle size has increased!]
- background: 0 Bytes (0.00%)
- ui: 278 Bytes (0.00%)
- common: 65 Bytes (0.00%)
Missing release label release-11.16.1 on PR. Adding release label release-11.16.1 on PR and removing other release labels(release-11.18.0), as PR was cherry-picked in branch 11.16.1.