-
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
Added a 'Verify contract details' link to SetApprovalForAll confirmation screens #15756
Added a 'Verify contract details' link to SetApprovalForAll confirmation screens #15756
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. |
ca276f9
to
fea6d49
Compare
Builds ready [fea6d49]
Page Load Metrics (1860 ± 55 ms)
highlights:storybook
|
fea6d49
to
148bb8a
Compare
Verified by QA |
148bb8a
to
d5f4f2d
Compare
Builds ready [d5f4f2d]
Page Load Metrics (1921 ± 60 ms)
highlights:storybook
|
Does this mean we're no longer showing the address we're granting approval to on this screen? |
hi @adonesky1, If this is what you meant, the setApprovalForAll confirmation screen doesn't show the address by default, but you can see it by clicking on View full transaction details ("Granted to:"), also clicking Verify contract details. |
5eaeeb3
to
fc5edea
Compare
Ah after watching the video I see that the address hasn't changed there. Looks good, only thing I would change is the placement. Seems like the address component should go above the "Verify Contract Details" button, since it should be right under the "You are allowing the follow account to access your funds". |
That address component will be deleted in this ticket |
fc5edea
to
20927e7
Compare
Builds ready [105d4e0]
Page Load Metrics (2475 ± 90 ms)
highlights:storybook
|
Builds ready [1853d18]
Page Load Metrics (2230 ± 57 ms)
highlights:storybook
|
628c778
to
09c474e
Compare
Verified by QA |
Builds ready [09c474e]
Page Load Metrics (2068 ± 44 ms)
highlights:storybook
|
09c474e
to
4438e5f
Compare
Builds ready [17ce341]
Page Load Metrics (2344 ± 71 ms)
highlights:storybook
|
let nftCollectionNameExist; | ||
let nftCollectionImageExist; | ||
|
||
Object.values(collections).forEach((nftCollections) => { |
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 commented on some similar code in another PR here: #15844 (comment)
If we need the same code here, it might be best to create a reusable component for rendering nft collection images
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.
…ion screens added one larger button in footer verify locales modified contract-details-modal fixed contract details modal modified open in block explorer modified contract details modal deleted gotItModal in locales modified collection image modified nft collection image
17ce341
to
14a43cd
Compare
Builds ready [14a43cd]
Page Load Metrics (2514 ± 159 ms)
highlights:storybook
|
Explanation
Added a 'Verify contract details' link to SetApprovalForAll and NFT Allowance confirmation screens. Clicking on this link will take you to new contract detail modal. On the contract detail modal the
NFT contract
is the NFT contract that the user is granting allowance for, and theContract requesting access
is the address that being granted access to the NFTs (we currently show it as "Granted to" under permission request).More Information
Screenshots/Screencaps
Screen.Recording.2022-10-14.at.01.34.56.mov
Manual Testing Steps