Skip to content
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

wallet-ext: display non-transferable nfts #4784

Merged
merged 5 commits into from
Sep 27, 2022

Conversation

pchrysochoidis
Copy link
Contributor

@pchrysochoidis pchrysochoidis commented Sep 26, 2022

  • allow nfts with has_public_transfer being false
  • disable send button when nft is not transferable
  • display NO MEDIA placeholder for nfts that don't have known media field
  • show object id when nft doesn't have a known name field
list of NFTs not public transferable NFT transferable NFT
Screenshot 2022-09-24 at 22 11 12 Screenshot 2022-09-24 at 22 11 17 Screenshot 2022-09-24 at 22 11 26
NFTs No Media/name NFT no media/name details view NFT no name/media send view
Screenshot 2022-09-26 at 19 11 10 Screenshot 2022-09-26 at 19 12 13 Screenshot 2022-09-26 at 19 11 30

fixes: #4676

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2022

💳 Wallet Extension has been built, you can download the packaged extension here: https://github.com/MystenLabs/sui/actions/runs/3135108304#artifacts

Copy link
Contributor

@Jibz1 Jibz1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@pchrysochoidis pchrysochoidis force-pushed the pc-wallet-ext-4676-show-non-transferable-nfts branch from 95a1d13 to f6e0c80 Compare September 26, 2022 16:10
@pchrysochoidis
Copy link
Contributor Author

pchrysochoidis commented Sep 26, 2022

Working on some UI changes requested by Abhi Done @mystie711, let me know if there is anything else.

@pchrysochoidis pchrysochoidis force-pushed the pc-wallet-ext-4676-show-non-transferable-nfts branch from 303b9c2 to 3813e87 Compare September 26, 2022 18:05
Copy link
Collaborator

@kchalkias kchalkias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pchrysochoidis, PR behavior is aligned with what we agreed last week.

* allow nfts with `has_public_transfer` being false
* disable send button when nft is not transferable
* display NO MEDIA placeholder for nfts that don't have known media field
* show object id when nft doesn't have a known name field
* add nft-type-image
* max length to 10 with max 6 chars prefix (default case for object ids)
* new background and icon
* show tooltip only when hovering above the icon
* wide view display `No media` as file type
@pchrysochoidis pchrysochoidis force-pushed the pc-wallet-ext-4676-show-non-transferable-nfts branch from 3813e87 to 48190f2 Compare September 27, 2022 11:10
@pchrysochoidis pchrysochoidis enabled auto-merge (rebase) September 27, 2022 11:15
@pchrysochoidis pchrysochoidis merged commit 1fdf2c9 into main Sep 27, 2022
@pchrysochoidis pchrysochoidis deleted the pc-wallet-ext-4676-show-non-transferable-nfts branch September 27, 2022 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

wallet-ext: nfts views to also show non-transferable nfts
4 participants