Skip to content

Conversation

@iwa
Copy link

@iwa iwa commented Dec 11, 2025

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 iwa force-pushed the feat/allow-rename-teams branch from 3ebb0b1 to 368d515 Compare December 11, 2025 08:56
@iwa
Copy link
Author

iwa commented Dec 11, 2025

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
Copy link
Author

iwa commented Dec 11, 2025

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)

@peppy
Copy link
Member

peppy commented Dec 11, 2025

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

@iwa
Copy link
Author

iwa commented Dec 11, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

teams: allow renaming existing team's name & tag

3 participants