-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[5.3] Show amount being approved by default on approval screens #4269
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. |
fef9423
to
a92ed29
Compare
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
@blackdevelopa if this ticket is ready. I would move it into QA |
Ready for QA. |
2584673
to
dcc25ea
Compare
Currently hash a2ddea4 is not showing these updates when using the MetaMask swaps button on Binance network in Android 11, 12 or iOS 15.5. Please make these changes in the swaps flow as well. |
a2ddea4
to
d1e5672
Compare
I am still not seeing the change in d1e5672 to more prominently feature the approval amount when using MetaMask swaps on Polygon/Binance chains. iOS 15.5 |
Adding this comment for the Swap flow and removing the |
Android 12 It seems that the part of the modal where this new information is presented is not scroll-able. This actually serves to blind android users operating in split screen mode. With this change as tested in d1e5672 we actually no longer present even a mention of the spending allowance amount or provide an option to edit within the approval modal. The exception being, that if the user taps "View details" they can view but not edit the token spending allowance. The experience on the split screen using pancakeswap.finance is tough to say the least, I still found it surprising how many android users were recently encountering the app closure in android split screen. While this may be a relatively small segment of users, the implications of these changes create what I believe to be a merge blocker. We should not further obfuscate the spending approval for this small segment of users in our effort to expand visibility and enable informed consent around spending approvals. A possible solution would be to support scrolling for the entire approval modal, rather than just the bottom as we do today. Reproduction steps:
|
Per the discussion, let's not consider this issue as a release blocker; i.e., the issue of approval amount not visible when user is in split screen mode. @sethkfman will write a ticket for upcoming sprint to disable split screen mode unless user is on a tablet (which is when split screen is likely more common and real estate not an issue for hiding consent visibility). |
This is a non-blocking observation that may merit further investigation or may simply be a matter of my connectivity challenges today. Android 11 https://recordit.co/oA3w4FoPyE I have been experiencing connectivity issues today, but this "Give permission to access your [missing {{token symbol}} value]?" hung for nearly 3 seconds before the Token and spending approval amount was resolved. This was for a non-native asset that had not yet been imported into MetaMask. Reproduction steps 1-14 cited in my earlier comments were used to get here. |
Description
This PR should show the proposed approval/custom spend limit on the approval screen
Checklist
Issue
Progresses #4148