-
Notifications
You must be signed in to change notification settings - Fork 5k
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
chore: MMI adds back the current Tx confirmation view to MMI #26539
chore: MMI adds back the current Tx confirmation view to MMI #26539
Conversation
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 [567318f]
Page Load Metrics (78 ± 13 ms)
Bundle size diffs
|
Builds ready [cfc91f6]
Page Load Metrics (84 ± 14 ms)
Bundle size diffs
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #26539 +/- ##
===========================================
+ Coverage 70.02% 70.04% +0.02%
===========================================
Files 1408 1411 +3
Lines 49105 49209 +104
Branches 13735 13756 +21
===========================================
+ Hits 34383 34466 +83
- Misses 14722 14743 +21 ☔ View full report in Codecov by Sentry. |
@@ -31,6 +31,10 @@ export function isBeta() { | |||
return process.env.METAMASK_BUILD_TYPE === 'beta'; | |||
} | |||
|
|||
export function isMMI() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@matthewwalsh0 This seems to be the logical place for what you suggested, already does it for the beta build type. I'm not adding a code fence for this since it would mean that an other one would have to exist on the useCurrentConfirmation
hook (otherwise things break), also it would add unnecessary complexity imo and this can be useful down the road for similar cases.
Builds ready [6e148ae]
Page Load Metrics (77 ± 10 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Quality Gate passedIssues Measures |
Builds ready [7428e1e]
Page Load Metrics (79 ± 8 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
While we don't support the new confirmation UI for Txs (MMI flow got broken with the upgrade), we need to show the current one to MMI.
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist