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

Custom token attributes should remember field keys from previously created tokens #224

Open
lenilsonjr opened this issue Dec 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@lenilsonjr
Copy link
Contributor

lenilsonjr commented Dec 1, 2021

Summary

In the token creation tool, when you select NFT, you may add it to a collection and add custom attributes to your NFT. Right now the custom attribute label and value are just simple text fields.

Objective 1

The label field for any custom attribute should be an autocomplete field (you can use react-select for this, we have the Formik-enabled src/components/_General/_FormikElements/Select.tsx as well).

The field should auto suggest past custom attributes used in other tokens authored by the wallet. You can check the collection autocomplete field logic for how to do this.

Objective 2

After selecting a collection for your NFT, all the custom attributes labels of the previous NFT created in that collection should copy over to the form. Example: if the last NFT of a collection had "Strength" and "Stamina" as custom attributes, they should immediately show up when I'm creating a new NFT for that collection.

CleanShot 2021-12-01 at 08 56 58@2x

Thanks Mixic in Discord for the suggestion

@lenilsonjr lenilsonjr added the enhancement New feature or request label Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant