[Feature]: Unique names for games
Feature Summary
each game has to have a unique name
Detailed Description
It could be annoying if multiple games ha the same name.
Requesting game names to be unique could be another security against trolls as the community grows.
If two players try to join the same game and multiple games are named alike, it might be very frustrating. A player could accidentally end up in the wrong ranked game.
I don't know if you guys have talked about this already, so I thought I would bring it up...
Hello can I work on this one ?
@kawaljen actually as written I don't think we want to do this. It will be annoying if you need to make a completely unique game name that has never been used before, since you'll have to keep guessing whether any given name has been used.
I'm open to suggestions for the best UX on this. Maybe it would be reasonable to say you can't make a game with the same name as a game in the list of open games i.e. one that has status GameStatus.CREATED and an updatedAt within the past 24 hours?
Ok for the gamelist check
On the UX suggestions, the easiest way, would be to use the snackbar used for validation already (although it closes the createGameDialog on an error, which I find not great)
Do you wish to get suggestions on showing error messages in different manner ?
or using the vfom validation I find the red color for error a bit too strong(v-theme-error) , maybe a brownish rose would be better