-
-
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
Verify Contract Details #5327
Verify Contract Details #5327
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. |
c8722af
to
64c357b
Compare
b2a5bc1
to
ede833e
Compare
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
app/component-library/components-temp/Contracts/ContractBoxBase/ContractBoxBase.tsx
Outdated
Show resolved
Hide resolved
c4de4cd
to
ebc52c5
Compare
app/component-library/components-temp/Contracts/ContractBox/ContractBox.constants.ts
Show resolved
Hide resolved
app/component-library/components-temp/Contracts/ContractBoxBase/ContractBoxBase.tsx
Show resolved
Hide resolved
app/component-library/components-temp/Contracts/ContractBoxBase/ContractBoxBase.types.ts
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/AddNickNameHeader/index.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
7763f15
to
3b5d743
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.
Hey, @blackdevelopa great job here!
Left some questions/suggestions.
app/components/UI/ApproveTransactionReview/AddNickname/index.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/AddNickname/index.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/AddNickname/index.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Outdated
Show resolved
Hide resolved
app/components/UI/ApproveTransactionReview/VerifyContractDetails/VerifyContractDetails.tsx
Show resolved
Hide resolved
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.
Thanks! LGTM!
b3c58d0
to
ac619bb
Compare
app/component-library/components-temp/Contracts/ContractBox/ContractBox.constants.ts
Show resolved
Hide resolved
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.
I added some NIT feedbacks.
PR is huge and touches important part of code. Thus QA is very important.
For complex changes smaller PRs with test coverage help a lot.
9a57539
to
177e431
Compare
ee61f13
to
dc82fd7
Compare
The issue above is fixed. Few things:
Let me know if this sounds good @bschorchit @blackdevelopa |
Would you mind giving this a final re-review once you have a chance, @jpuri ? Once this is re-reviewed, we'll merge this PR and address the non-blocking issues found during QA as part of the tickets tagged above. 🧡 |
Looks good for merge 👍 |
Plz ignore PR closing, that was accidental. |
We're now following the practice of 2 reviews for confirmations mobile PRs, would you mind also giving this a re-review to check the latest changes @tommasini? Thank you 🧡 |
Thanks for the tag @bschorchit! |
Thank you @tommasini. Good catch. |
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.
Thanks! LGTM! Awesome work! 🚀
🚀🚀🚀 |
Looks good! I merge the PR. |
Development & PR Process
release-xx
label to identify the PR slated for a upcoming release (will be used in release discussion)needs-dev-review
label when work is completedneeds-qa
label when dev review is completedQA Passed
label when QA has signed offDescription
The aim of this code (PR) is to provide more insights before approving a transaction. There will now be the option to learn more about the contract and token involved and to verify these addresses, as well as add familiar addresses to the Contact list.
https://github.com/MetaMask/MetaMask-planning/issues/179
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions,
1. What is the reason for the change?
2. What is the improvement/solution?
See design
Screenshots/Recordings
Before
http://recordit.co/luMSaC7IrQ
After
http://recordit.co/ecgFtvxIox
On smaller device (SE)
http://recordit.co/bLxbYGJJyP
Todo:
If applicable, add screenshots and/or recordings to visualize the before and after of your change
Issue
Test Case
Update in a bit
Progresses https://github.com/MetaMask/MetaMask-planning/issues/179
Checklist