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

Stop the user from creating palettes with duplicate names #7

Open
ajsaraujo opened this issue Mar 8, 2021 · 1 comment
Open

Stop the user from creating palettes with duplicate names #7

ajsaraujo opened this issue Mar 8, 2021 · 1 comment
Labels
feature A new feature good first issue Good for newcomers

Comments

@ajsaraujo
Copy link
Owner

ajsaraujo commented Mar 8, 2021

Currently, the user can edit a palette's name to one that's already in use by another palette. This is undesired behaviour, since we use the palettes names' as keys on local storage. If the user tries to rename a palette to a name that's already in use, the app should show a red toast message saying "{{ name }} is already in use" or something like it, and cancel the operation.

Leaving a palette's name empty shouldn't be allowed either.

@ajsaraujo ajsaraujo added enhancement good first issue Good for newcomers feature A new feature and removed enhancement labels Mar 8, 2021
@Lokprakash-babu
Copy link

Lokprakash-babu commented Jun 17, 2021

I would like to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants