osu-web icon indicating copy to clipboard operation
osu-web copied to clipboard

Allow renaming of teams' name & tag

Open iwa opened this issue 2 weeks ago • 4 comments

fixes #12548

i tried to tackle this one with basic features:

  • allow renaming of both name & tag, with their own fields
  • add a name_changed_at timestamp field in team's model
  • adjustable cooldown (currently set to 7 days) to avoid rename spam
    • prevent renaming during cooldown
    • shows the remaining time before next rename
  • add a input-text--disabled css class
Before renaming After renaming
image image

iwa avatar Dec 11 '25 08:12 iwa

one thing i'm not sure about is style, when on cooldown i've added a disabled attribute on both inputs, but idk if there's a specific style convention you use to visually determine a field as disabled?

iwa avatar Dec 11 '25 08:12 iwa

i've added a --disabled subclass to input-text, taking inspiration on what's been done in other parts of the project

haven't bound to [disabled] cause i don't want to cause side effects anywhere else

(updated pr's desc to show the new result)

iwa avatar Dec 11 '25 09:12 iwa

If we're even considering this, the cooldown should be more like 1 year. Or maybe a store purchase.

peppy avatar Dec 11 '25 09:12 peppy

if so then either cooldown or store purchase should also apply to creating a team to make it fair, right? but this doesn't really seem like a good idea considering teams are only a social feature also team name doesn't feel as important as a username so i'm not sure ppl would be willing to pay exclusively for it

i guess 2 possible options could be:

  • make a long cooldown as you suggested, applying both for creating & renaming
  • lock managing a team (create & update) as a supporter perk, and keep a low or even no cooldown

iwa avatar Dec 11 '25 09:12 iwa