Mastodon: A warning at sign-up that usernames can't be changed later on

Created on 10 Nov 2017  路  8Comments  路  Source: tootsuite/mastodon

See title - since usernames can't currently be changed, I think it should (hopefully) be fairly easy to warn people at sign-up that usernames can't be changed. It's a question that comes up semi-frequently from new and established members, so I think it could help with relatively little effort.

I also believe that being able to change one's username is common and probably expected behaviour for a lot of people! And folks here really resent not being able to migrate easily (see #177 - Support account migration). Maybe warning people that they won't be able to move their whole everything over to a new username might help them to make choices that they're happier with in the long term, and be less upset that migration isn't possible yet.


  • [ ] I searched or browsed the repo鈥檚 other issues to ensure this is not a duplicate.
  • [ ] This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
suggestion ui work in progress

Most helpful comment

I'm thinking we could add a label beneath the username input, much like how we display errors for the inputs. I'm not sure if there is an existing 'warning' class for this sort of thing so I just chose to use orange for the illustration. Warning text is also a placeholder. Text could be revealed on field focus (i.e user clicks into the field).

image
(ignore the icons displayed in the fields those are from Lastpass)

EDIT: Not sure if this will make things look to busy when there are errors present.
image

All 8 comments

I'm thinking we could add a label beneath the username input, much like how we display errors for the inputs. I'm not sure if there is an existing 'warning' class for this sort of thing so I just chose to use orange for the illustration. Warning text is also a placeholder. Text could be revealed on field focus (i.e user clicks into the field).

image
(ignore the icons displayed in the fields those are from Lastpass)

EDIT: Not sure if this will make things look to busy when there are errors present.
image

Oh this is good!

It could say "this username has already been taken" in red if it's already been taken, and if the username is valid it can then switch to saying "your username is permanent and cannot be changed later" in orange? That could help make it less busy - only one urgent message at a time.

That'd be good but, there is a case where you can potentially miss out on the message (for a second time, you'd always see it on the first screen). Say if you got to that screen because the username was taken, then entered a new one and clicked sign up, you'd be signed up without seeing the message (a second time).
Not sure if that matters or not though. Before I write any code I'd like to wait for input from someone else on the design.

@matt-auckland that design looks fine to me, I'm not too worried about missing it the second time.

I agree that ideally the text should be revealed on field focus. I'm worried about adding more static page JS鈥攚e try to keep that as small as possible. can this be done with the existing rails-ujs helpers and data properties?

if not then whatever

@nightpool No idea to be honest, never used Ruby before 馃槄
Need to do some reading and research

account migration in Mastodon 3+ is basically also rename, right? In that case I'd close this.

I stand corrected. Thanks @Cassolotl.

@ccoenen No, because you can't take your posts with you, as far as I know? If I wanted to keep my account and all its posts, faves, bookmarks, boosts, settings, stats, date joined, etc - keep everything the same, but just change the username, that's not currently possible and this issue should stay open.

Was this page helpful?
0 / 5 - 0 ratings