metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

feat: Implement the "Manage in settings" variation for the STX Opt In modal

Open dan437 opened this issue 1 year ago • 2 comments

Description

Slight variation for the STX Opt In modal: Add a link to "Manage in settings"

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Install the extension from scratch
  2. After the initial setup you will see the STX Opt In modal
  3. It will show the "Manage in settings" link. After clicking on it we opt out a user from Smart Transactions, but they will be redirected to Advanced Settings, where they can turn it on if they want or just close the Settings

Screenshots/Recordings

STX Opt In modal: image

Advanced Settings with STX: image

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.

dan437 avatar May 24 '24 13:05 dan437

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.

github-actions[bot] avatar May 24 '24 13:05 github-actions[bot]

Builds ready [1113c78]
Page Load Metrics (1403 ± 581 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint641831073216
domContentLoaded10301452
load51270114031211581
domInteractive10301452
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: 298 Bytes (0.00%)
  • common: -21 Bytes (-0.00%)

metamaskbot avatar May 24 '24 15:05 metamaskbot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.72%. Comparing base (3af209b) to head (8448fe2). Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #24771      +/-   ##
===========================================
+ Coverage    65.69%   65.72%   +0.03%     
===========================================
  Files         1360     1360              
  Lines        54081    54083       +2     
  Branches     14051    14051              
===========================================
+ Hits         35525    35542      +17     
+ Misses       18556    18541      -15     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 27 '24 14:05 codecov[bot]

Builds ready [8448fe2]
Page Load Metrics (751 ± 498 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint661791032813
domContentLoaded9381484
load5425747511038498
domInteractive9381484
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: 298 Bytes (0.00%)
  • common: -21 Bytes (-0.00%)

metamaskbot avatar May 27 '24 14:05 metamaskbot

Builds ready [05bcec5]
Page Load Metrics (834 ± 499 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint60177992813
domContentLoaded8461284
load4924008341040499
domInteractive8461284
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: 298 Bytes (0.00%)
  • common: -21 Bytes (-0.00%)

metamaskbot avatar May 28 '24 13:05 metamaskbot

Builds ready [c419b85]
Page Load Metrics (846 ± 504 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint701801022512
domContentLoaded9171121
load5824628461050504
domInteractive9171121
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: 314 Bytes (0.00%)
  • common: -21 Bytes (-0.00%)

metamaskbot avatar May 28 '24 15:05 metamaskbot

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.

metamaskbot avatar May 29 '24 00:05 metamaskbot