Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better UX for the lowercase username requirement on registration #21820

Open
patricksavalle opened this issue Apr 16, 2022 · 4 comments
Open
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement X-Needs-Design

Comments

@patricksavalle
Copy link

Your use case

What would you like to do?

Remove confusion around lowercase username

Why would you like to do it?

While on-boarding 10 communities on their own homeservers, I noticed this is a big hurdle for many. Either the warning message is unclear or the requirement is unexpected.

How would you like to achieve it?

Just lowercase the name, don't warn, don't ask. Or issue a more specific warning message.

Have you considered any alternatives?

No response

Additional context

No response

@SimonBrandner SimonBrandner added A-Registration X-Needs-Design O-Occasional Affects or can be seen by some users regularly or most users rarely labels Apr 16, 2022
@BurnyBoi
Copy link

Just forcing it lowercase makes sense. Every email registration form ever already does this.

@HarHarLinks
Copy link
Contributor

Just forcing it lower case doesn't work as long as legacy usernames with upper case are supported, does it?
There would need to be some kind of migration for these legacy mxids in synapse. Unless I'm unaware of something like that already existing.

When this can be enforced, the input field should instantly convert any upper case letters to lower case, or not let you input upper case in the first place.

@t3chguy
Copy link
Member

t3chguy commented Jul 12, 2022

There would need to be some kind of migration for these legacy mxids in synapse. Unless I'm unaware of something like that already existing.

Which isn't possible as MXIDs are immutably burned into all the events you've ever sent.

@HarHarLinks
Copy link
Contributor

Oh wow okay I'm mixing things up here. I was linked to this issue from an issue about the Log In screen, but this is only about Registration.

For registration you can and should naturally just lowercase new MXIDs.

Please ignore my other comment that's related to logging in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Registration O-Occasional Affects or can be seen by some users regularly or most users rarely T-Enhancement X-Needs-Design
Projects
None yet
Development

No branches or pull requests

5 participants