Only SLP NFTs are supported, so do not show this switch for minting NFTs.
Details
- Reviewers
emack - Group Reviewers
Restricted Project - Commits
- rABCe14800143f01: [Cashtab] Do not show ALP and SLP options for NFT mints
npm test, see before and after screenshots
before
after
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- nft-mint-no-alp
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 31389 Build 62276: Build Diff cashtab-tests Build 62275: arc lint + arc unit
Event Timeline
In these situations I feel it may be more intuitive if you leave the toggle there but simply disable it (maybe greyed out to indicate lock status?) so that it's clear to the user this is SLP only. Otherwise they might be looking for the toggle they saw previously with no on screen hint as to why it's not there.
in this case, the screen only appears when the user is minting SLP1 NFTs. So there is no option. imo better to show no option. Esp as we add more token types, having 5 disabled switches for token type when the app already knows the token type is ... a bit much imo.
The screen only appears in this way on the Token screen for the NFT. So, both Create Token screens still have the switches.