-
Notifications
You must be signed in to change notification settings - Fork 9
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
ABW-1666 bBlock duplicate NFT transfer #551
Conversation
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, though I think we might have wanted to still allow users to select the NFT but display an error in AssetTransfer View. Android I think does exactly that.
We could allow them to tap it and show the error message then. That's why I put the selection blocking logic in the reducer instead of the view, so we can choose what to do. I definitely think we should indicate visually that it's not selectable. |
I think idea is to follow the same UX as for fungible resources having the total sum going over the balance, in a way sending the same nft to two different accounts is going over the balance. |
That's a different UX though. For fungibles, you get told that you're over the limit right away, when you enter the amount. So you get warned right where you can change it. It's not very nice if you have to go back in to a receiving account and change it. Also, it's hard to convey which NFT or NFTs that are duplicated, they might forget before they get in to the asset screen. I guess we could remove the indication that it has been disabled, and only show an error after they select it, but right there on the asset screen. |
I am not rooting for any UX, both seem reasonable for me. |
Jira ticket: ABW-1666
Description
Screenshot
The upper NFT has already been selected for another account
PR submission checklist