Skip to content

feat: Remove 'Improved signature requests' setting toggle #29819

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

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

pedronfigueiredo
Copy link
Contributor

@pedronfigueiredo pedronfigueiredo commented Jan 21, 2025

Description

Removes the settings toggle for redesigned signatures. Removes e2e tests used for old flows no longer supported. For test/e2e/tests/metrics/signature-approved.spec.js, the tests were migrated to the redesigned confirmation screen.

Open in GitHub Codespaces

Related issues

Fixes: https://github.com/MetaMask/MetaMask-planning/issues/3029

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

@pedronfigueiredo pedronfigueiredo added the team-confirmations Push issues to confirmations team label Jan 21, 2025
@pedronfigueiredo pedronfigueiredo self-assigned this Jan 21, 2025
@pedronfigueiredo pedronfigueiredo requested review from a team as code owners January 21, 2025 09:42
Copy link
Contributor

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.

@metamaskbot
Copy link
Collaborator

Builds ready [07ae676]
Page Load Metrics (1581 ± 71 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint45020231516281135
domContentLoaded13961999156614670
load14092027158114771
domInteractive259739168
backgroundConnect65912115
firstReactRender1569352311
getState44210115
initialActions01000
loadScripts10011540116112862
setupStore55212147
uiStartup15752355180919694
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 445 Bytes (0.01%)
  • ui: -561 Bytes (-0.01%)
  • common: -483 Bytes (-0.01%)

@metamaskbot
Copy link
Collaborator

Builds ready [8302d8c]
Page Load Metrics (1760 ± 60 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15481959176412560
domContentLoaded15361900172111856
load15501968176012660
domInteractive22138442813
backgroundConnect792382713
firstReactRender1699422713
getState56413147
initialActions01000
loadScripts10891436128010550
setupStore678192110
uiStartup184327692154258124
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 445 Bytes (0.01%)
  • ui: -1023 Bytes (-0.01%)
  • common: -483 Bytes (-0.01%)

preferences &&
hasProperty(preferences, 'redesignedConfirmationsEnabled')
) {
delete preferences.redesignedConfirmationsEnabled;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned on the other PR, can we just delete the full optional chain as it will no-op if undefined?

@pedronfigueiredo pedronfigueiredo added this pull request to the merge queue Jan 22, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 22, 2025
@pedronfigueiredo pedronfigueiredo added this pull request to the merge queue Jan 22, 2025
Merged via the queue into main with commit 82db3ee Jan 22, 2025
72 checks passed
@pedronfigueiredo pedronfigueiredo deleted the pnf/3029 branch January 22, 2025 17:33
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2025
@metamaskbot metamaskbot added the release-12.12.0 Issue or pull request that will be included in release 12.12.0 label Jan 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.12.0 Issue or pull request that will be included in release 12.12.0 team-confirmations Push issues to confirmations team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants