Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Tag duplication in post edit mode
Accidentally clicking on the blue "bug" tag above the tags box in post edit mode adds the tag "bug" even if it is already present, resulting in it being present twice. Deleting it with the little "x" makes it appear to vanish, but it comes back when another tag is added. I haven't tested whether this only affects the "bug" tag.
Not a major problem as the tag does not show a duplicate after the post is submitted. However, it can still be seen twice when editing again in future, which suggests it remains duplicated on the back end. As the duplicated tag is counted twice, this prevents a user from adding more than 4 tags, instead of the usual 5.
If a user accidentally clicks multiple times, they could end up with "bug" showing 5 times, preventing them from adding any more tags. I tested this to confirm. They can still work around this if they know to click on the little "x" and clear space to add more tags.
The duplicated tags can be removed permanently so they no longer show when editing in future - by adding tags to bring the total up to 5. Saving then saves only those 5 with no duplicates, and editing to remove the unwanted ones later leaves no duplicates.
There seems to be some other odd behaviour that I haven't tested further:
- A previously removed tag reappearing in the tag box when editing
- Manually adding a duplicate tag by typing it rather than clicking the blue tag button leading to both the duplicate and the original disappearing (not sure if this was dependent on there already being 2 bug tags).