-
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
New "approve" screen doesn't let you copy the address being approved #7615
Comments
@MetaMask/design ^ good opportunity to enhance this design. Anywhere we show an address is an opportunity to do all the things we do for an address. |
It appears this was spec'd in the initial designs but wasn't implemented and was missed during QA. See mockup below. This is the icon I'd suggest we use for the copy to clipboard. I'd also advise making the entire address string clickable + tool tip "copy to clipboard". cc @danjm @whymarrh |
@danjm consolidating design feedback for Approve screen designs here.
|
We also got some feedback today, which I agree with, that the top of the This is to match the reality of what is being trusted: The smart contract, not the domain. Might also want to add a link to its block-explorer page. |
@danfinlay based on our lengthy design discussions, the goal was to make the Approve screen overall more human-readable and reduce confusion for the user. Since the user is interacting with a site/dapp at the very moment that the Approve function is called, it makes more usability sense to call out the domain in the header for the reason that it provides the user a more direct context and association with the dapp/site they are interacting with. We were also very conscious about making it simple to access the |
The length of the discussion is irrelevant. Long discussions can reach wrong conclusions. The word we're showing there is not representative of what is being permitted, and without the presence of the actual address, we are not giving the tools to correctly review this.
Currently this address is concatenated, and does not allow copying, so this requirement is not yet met: It would also be nice to use the address book and/or ENS to render a rich name here when available. |
Dan pointed out that Etherscan now has dedicated smart contract pages . We may want to consider linking users to these smart contract dapp pages from the Approve screen. We may also want to take inspiration from how they display the smart contract address for our approve screen (bubble up the smart contract address). cc @rachelcope |
Guys, any update on this? It isn't possible yet to check the contract requesting approval, being useless actually... Is there any workaround to check the contract apart from confirming the TX? Like in console/inspector? Thanks! |
Seems like a easy fix. Yes, this is a security issue. |
I double the comment by @dzid26 on top. It is really frustrating issue you can't check a contract before confirming a transaction. |
Closing as this has been solved. There's a copy button currently in prod. |
Describe the bug
Address being approved is truncated and can not be copied.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A little button that allows you to copy the address.
Screenshots
Browser details (please complete the following information):
The text was updated successfully, but these errors were encountered: