2.0: Make sure Rename token group
and Duplicate token group
cannot share name with an existing token group
#2778
Labels
plugin v2
variables, UI, WTCG format, Bitbucket
Right now when you right click a token group and you click Duplicate or Rename, we allow users to enter an existing token group's name. This should be strictly forbidden as it will lead to unintended side-effects. Just like when you edit a token name you cannot enter an existing token group name, we should make it so that for renaming or duplicating groups this is not possible.
To reproduce:
foo.bar
and another token with a nameotherfoo.bar
foo
and click Duplicate.otherfoo
.This should show a warning and disable the Submit input.
Same as for rename:
To reproduce:
foo.bar
and another token with a nameotherfoo.bar
foo
and click Rename.otherfoo
.This should show a warning and disable the Submit input.
CleanShot.2024-05-20.at.14.34.15.mp4
The text was updated successfully, but these errors were encountered: