-
Notifications
You must be signed in to change notification settings - Fork 873
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
feat(wallet): Implement NFT management v2 #20204
Conversation
A Storybook has been deployed to preview UI for the latest push |
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.
strings
++ (with a formatting fix)
components/brave_wallet_ui/common/slices/endpoints/nfts.endpoints.ts
Outdated
Show resolved
Hide resolved
..._ui/components/desktop/views/nfts/components/nft-group-selector/nft-group-selector.styles.ts
Outdated
Show resolved
Hide resolved
components/brave_wallet_ui/components/desktop/views/nfts/components/nfts.tsx
Outdated
Show resolved
Hide resolved
components/brave_wallet_ui/components/desktop/views/nfts/components/nfts.tsx
Outdated
Show resolved
Hide resolved
components/brave_wallet_ui/components/desktop/views/nfts/components/nfts.tsx
Outdated
Show resolved
Hide resolved
components/brave_wallet_ui/components/desktop/views/portfolio/components/nft-grid-view/style.ts
Outdated
Show resolved
Hide resolved
components/brave_wallet_ui/components/desktop/views/portfolio/components/nft-grid-view/style.ts
Outdated
Show resolved
Hide resolved
...ve_wallet_ui/components/desktop/views/portfolio/components/nft-more-popup/nft-more-popup.tsx
Outdated
Show resolved
Hide resolved
...ve_wallet_ui/components/desktop/views/portfolio/components/nft-more-popup/nft-more-popup.tsx
Outdated
Show resolved
Hide resolved
c7facca
to
ed2c3e8
Compare
A Storybook has been deployed to preview UI for the latest push |
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.
Approved with suggestions
Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com>
2fe759a
to
6919f55
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
A Storybook has been deployed to preview UI for the latest push |
* Added group selector * WIP * Design implement + strings * Format * Fix storybook * implement feedback * Update components/brave_wallet/browser/brave_wallet_constants.h Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com> * Move account lookup to the component * Fix string spelling --------- Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com>
Verification passed on
|
* feat(wallet): Implement NFT management v2 (#20204) * Added group selector * WIP * Design implement + strings * Format * Fix storybook * implement feedback * Update components/brave_wallet/browser/brave_wallet_constants.h Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com> * Move account lookup to the component * Fix string spelling --------- Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com> * Fix API slice errors * Fix storybook --------- Co-authored-by: Josh Leonard <30185185+josheleonard@users.noreply.github.com>
Resolves brave/brave-browser#33095
Resolves brave/brave-browser#32984
Submitter Checklist:
QA/Yes
orQA/No
;release-notes/include
orrelease-notes/exclude
;OS/...
) to the associated issuenpm run test -- brave_browser_tests
,npm run test -- brave_unit_tests
wikinpm run lint
,npm run presubmit
wiki,npm run gn_check
,npm run tslint
git rebase master
(if needed)Reviewer Checklist:
gn
After-merge Checklist:
changes has landed on
Test Plan:
Switching NFT Views
Collected
and number of NFTs that are not spam or hiddenCollected
button should open a dropdown with 2 options,Collected
andHidden
NFT Actions
To view NFT options, click on
...
on the bottom right of each NFT.For non-spam or not hidden NFTs, it will show 3 options: Edit, Hide and Don't show in wallet
Clicking on Edit should show NFT form from which you can edit and save NFT details
Clicking on Hide moves the NFT to hidden tab
Clicking on Remove from wallet shows a confirmation modal. If a user confirms, the NFT is deleted from their wallet asset list
For spam NFTs the actions shown are: Mark as not junk and Don't show in wallet.
Clicking on Mark as not junk moves the NFT from hidden tab to collected tab
Clicking on Don't show in wallet behaves the same way as described above.
NFT Item UI changes
Junk
label on the top right.