-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Enable the Token Allowance flow by default for all users #16740
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. |
@@ -1,362 +1,506 @@ | |||
/* eslint-disable mocha/no-skipped-tests */ |
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.
@mirjanaKukic can we remove this line now? I don't believe its needed anymore
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.
Done.
Builds ready [f751878]
Page Load Metrics (1976 ± 99 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
658db12
to
88ec6a0
Compare
Builds ready [88ec6a0]
Page Load Metrics (1991 ± 78 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
Verified by QA |
Builds ready [f4b50ef]
Page Load Metrics (2235 ± 143 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
f4b50ef
to
ad29194
Compare
Builds ready [ad29194]
Page Load Metrics (2302 ± 79 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
ad29194
to
aa8537f
Compare
Builds ready [aa8537f]
Page Load Metrics (2463 ± 239 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
aa8537f
to
79cb332
Compare
Builds ready [79cb332]
Page Load Metrics (2177 ± 94 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
79cb332
to
c548e58
Compare
Builds ready [745ecee]
Page Load Metrics (2238 ± 128 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
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.
LGTM 🙌
Builds ready [9c0bd95]
Page Load Metrics (1179 ± 105 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
9c0bd95
to
1c50a86
Compare
Builds ready [1c50a86]
Page Load Metrics (1449 ± 149 ms)
Bundle size diffs [🚀 Bundle size reduced!]
highlights:storybook
|
Builds ready [660f03d]
Page Load Metrics (1107 ± 93 ms)
highlights:storybook
|
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.
Good work 👍
Fixing lint verify locales changed add approve token tests skipped approve token tests from metamask-ui file added test for max spending cap failOnConsoleError removed tests from metamask-ui fix add delay removed failOnConsoleError
660f03d
to
b686323
Compare
Builds ready [b686323]
Page Load Metrics (1459 ± 123 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
</Button> | ||
{setshowContractDetails && ( | ||
<ContractDetailsModal | ||
onClose={() => this.setState({ setshowContractDetails: false })} |
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.
In a follow up PR we should change setshowContractDetails
to setShowContractDetails
but I won't block on that.
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.
Excellent work! This is great!
new Date(UI_NOTIFICATIONS[16].date), | ||
) | ||
: '', | ||
}, | ||
17: { |
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.
Should 17 be made 16 now ?
Explanation
Token Allowance
flow by default for all users.Token Allowance
feature.What's New
notification which prompted users to turn on the setting.Experimental toggle
forToken Allowance
feature.Screenshots/Screencaps
Before
After
Test-Dapp
Screen.Recording.2022-11-30.at.12.24.05.mov
Etherscan
Screen.Recording.2022-11-30.at.12.27.26.mov
Manual Testing Steps
Test-dapp
Create Token
Approve Tokens
or
Approve Tokens Without Gas
Etherscan
approve
input any address and number