Skip to content
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

fix(snaps): Use ApprovalType instead DIALOG_APPROVAL_TYPES in confirmation page #26655

Merged
merged 4 commits into from
Aug 27, 2024

Conversation

ritave
Copy link
Contributor

@ritave ritave commented Aug 26, 2024

Description

This PR uses proper constant from ApprovalType instead of DIALOG_APPROVAL_TYPES.

This required updating @metamask/controller-utils to ^11.1.0. I manually reviewed all breaking changes from controller-utils and found no breakages in the metamask-extension.

Open in GitHub Codespaces

Related issues

Fixes MetaMask/core#4598

Manual testing steps

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.

@ritave ritave added team-snaps-platform Snaps Platform team team-confirmations Push issues to confirmations team labels Aug 26, 2024
Copy link

socket-security bot commented Aug 26, 2024

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: npm/@metamask/[email protected])

View full report↗︎

Mrtenz
Mrtenz previously approved these changes Aug 26, 2024
@ritave
Copy link
Contributor Author

ritave commented Aug 26, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

Copy link

@metamaskbot
Copy link
Collaborator

Builds ready [91f63ce]
Page Load Metrics (75 ± 8 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint711791032512
domContentLoaded4410770189
load5110775178
domInteractive95726136
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -156.71 KiB (-4.34%)
  • ui: 0 Bytes (0.00%)
  • common: -273.85 KiB (-3.23%)

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.09%. Comparing base (ee52d48) to head (91f63ce).
Report is 15 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #26655      +/-   ##
===========================================
- Coverage    70.09%   70.09%   -0.00%     
===========================================
  Files         1413     1413              
  Lines        49254    49255       +1     
  Branches     13768    13768              
===========================================
  Hits         34524    34524              
- Misses       14730    14731       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritave ritave marked this pull request as ready for review August 27, 2024 13:36
@ritave ritave requested review from a team as code owners August 27, 2024 13:36
@ritave ritave merged commit aea494d into develop Aug 27, 2024
78 checks passed
@ritave ritave deleted the ritave/approval-type branch August 27, 2024 14:11
@github-actions github-actions bot locked and limited conversation to collaborators Aug 27, 2024
@metamaskbot metamaskbot added the release-12.5.0 Issue or pull request that will be included in release 12.5.0 label Aug 27, 2024
@gauthierpetetin gauthierpetetin added release-12.4.0 Issue or pull request that will be included in release 12.4.0 and removed release-12.5.0 Issue or pull request that will be included in release 12.5.0 labels Sep 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-12.4.0 Issue or pull request that will be included in release 12.4.0 team-confirmations Push issues to confirmations team team-snaps-platform Snaps Platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the new default snap dialog approval type to ApprovalType
5 participants