-
-
Notifications
You must be signed in to change notification settings - Fork 123
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
Fix: issue 718, improve validation message for user profile name edit #758
Conversation
@danekshea is attempting to deploy a commit to the openbeta-dev Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
can you please smoke test the change using the preview build? https://open-tacos-aa73c08rd-openbeta-dev.vercel.app/ thanks! |
I looked into this briefly to find a path forward. I see several options:
I'd favor 3 and 4. I feel like the current logic is somewhat hard to explain and fairly arbitrary. Perhaps "Only alphanumeric characters and ".", "_", "-" are permitted" would do. |
@vnugent @danekshea What do y'all think? |
I'd be in favor of 3 and/or 4. Like you said we can break down the validation into multiple tests, each showing their own shorter message. |
3 and 4 sound pretty logical @zichongkao ! |
superseded by #838 |
Quick fix for #718 with an added description of the regex. Didn't test the build due to not having auth available, might be overflow due to length of message but the responsive UI probably handles it find.