Adding words to Watched Words doesn't check for duplicates

Adding words to “Watched Words” admin setting doesn’t check for duplicated

For example, I can censor “Tururu”, and censor “tururu” and a double “Tururu” appears
However, if I refresh the page it gets fixed

I guess the duplicate checker is only missing on client side

6 Likes

Sent a PR for this:

https://github.com/discourse/discourse/pull/5844

We’ll now show a message to let you know the word is already added when you try to add a duplicate:

7 Likes

Looks good but we need to improve the styling there

5 Likes