-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Picking a username in ILAG with a capital letter fails unpleasantly #5833
Comments
Related: #5434 |
http://jsfiddle.net/5ocu2cqk/20/ for the win! We should really have microcopy on these fields too, to explain what how a username is used and to lay out the restrictions before a user starts trying to type capitals/Chinese/punctuation/whatever |
Yep, I'm with @lampholder on this one - we already automatically set the display name to the local part, let's kill two birds here and use the fiddle but word it for the user. I suppose we could handle characters outside of |
With /app this is slightly different now: It automatically lowercases your username for you and happily tries to register it, however the bright red warning about invalid characters is still there. |
We definitely need to feed this back to the user before they register The solution above does this. |
@lampholder is cloning the fiddle in #5833 (comment) the expected outcome for this issue? |
I loved this at the time, now I think that there's probably a generally accepted best practice for field validation that we shoudl follow rather than (potentially) surprising people with their keypresses not appearing. Let's get a designer's opinion: @nadonomy, what do you think? |
We should definitely avoid swallowing characters (as per the jsfiddle) and silently modifying case server side (to avoid situations like this). Looking at the current ILAG behaviour on
|
Fixes element-hq/element-web#5833 This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per element-hq/element-web#5833 (comment)
Fixes element-hq/element-web#5833 This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per element-hq/element-web#5833 (comment)
Fixes element-hq/element-web#5833 This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per element-hq/element-web#5833 (comment)
Fixed by matrix-org/matrix-react-sdk#2351 |
You get a nasty error telling you to change the username to be lowercase in a very cryptic manner. I thought we squashed case to lowercase on the server at registration these days?
The text was updated successfully, but these errors were encountered: