lemmy-ui
lemmy-ui copied to clipboard
Community Name requirements not clear
Is your proposal related to a problem?
The "Community Name" only allows lowercase letters, numbers, and an underscore. If you try to create a community name with a capital letter, the browser gives you a vague warning that it doesn't match the requirements. These requirements aren't displayed anywhere, so a user may not know what they're doing wrong.
Describe the solution you'd like
Should have some visible text saying what the requirements are for the community name.
What browser are you using? This might have been added in a later commit, but I doubt it.
Replicated with Safari:
Seems this is a quirk of safari, not intelligently writing errors for input patterns like most other browsers: https://www.wufoo.com/html5/pattern-attribute/
If you'd like to write a safari workaround, I'd consider a merge.
@dessalines Might be adequate to just add something to name_explain
translation:
Name – used as the identifier for the community, cannot be changed. Must contain only lowercase letters or underscores.