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

Allow room names to have spaces #7488

Closed
danieljhochman opened this issue Jul 13, 2017 · 12 comments · Fixed by #7595
Closed

Allow room names to have spaces #7488

danieljhochman opened this issue Jul 13, 2017 · 12 comments · Fixed by #7595

Comments

@danieljhochman
Copy link

Currently room names do not allow spaces. Please add the ability for room names (both public and private) to allow spaces.

@localguru
Copy link
Contributor

I like the idea. +1

@JSzaszvari
Copy link
Contributor

JSzaszvari commented Jul 28, 2017

I dislike the idea. What chat apps allow this? Just serves to confuse people and helps make room names inconsistent

Room names are an identifier, rather than a descriptive name.

sampaiodiego added a commit that referenced this issue Jul 28, 2017
danischreiber pushed a commit to seekingalpha/Rocket.Chat that referenced this issue Jul 30, 2017
Closes RocketChat#892
Closes RocketChat#7488

Fire global event for Load More during scroll
@roygold7
Copy link

roygold7 commented Jul 4, 2018

I am unable to create a channel with spaces in its name. I've tried adding a space to the RegExp in the UTF-8 option in Adminstration > General > UTF-8.
Is there an option in the administration settings that I missed? Is it addressed in the documentation?

@sampaiodiego
Copy link
Member

please check #7595

@roygold7
Copy link

roygold7 commented Jul 4, 2018

Okay, allowing special chars lets me type spaces in the new channel's name input, but then it creates the channel with hyphens instead of spaces in the channel's name.
Also, the name appears three times on the page and is inconsistent regarding the spaces and hyphens.

screenshot

@sampaiodiego
Copy link
Member

@roygold7 ok, that's a new issue.. as you saw it was not designed this way back on #7595

do you mind opening a new issue regarding this inconsistency? thx

@kaiiiiiiiii
Copy link
Contributor

Sounds like the issue I addressed in #10515, just with spaces instead of underscores.

@softwaredoug
Copy link

This is pretty annoying if you create a Discussion (which allows spaces) then rename the discussion. It forces you to put dashes or something in the name. Lack of spaces in room names just feels arbitrary. We are just starting to use Rocket Chat from Flowdock, which allowed spaces in names... which only improved the readability of the room names

@roygold7
Copy link

roygold7 commented May 5, 2020

@softwaredoug

This is pretty annoying if you create a Discussion (which allows spaces) then rename the discussion. It forces you to put dashes or something in the name. Lack of spaces in room names just feels arbitrary. We are just starting to use Rocket Chat from Flowdock, which allowed spaces in names... which only improved the readability of the room names

If I recall correctly, we managed to get around this by adding a space to the regex in the setting UTF8_Channel_Names_Validation in the General section of the settings, and changing the UI_Allow_room_names_with_special_chars to the false option under the User Interface section in the Layout section of the settings

@softwaredoug
Copy link

@softwaredoug

This is pretty annoying if you create a Discussion (which allows spaces) then rename the discussion. It forces you to put dashes or something in the name. Lack of spaces in room names just feels arbitrary. We are just starting to use Rocket Chat from Flowdock, which allowed spaces in names... which only improved the readability of the room names

If I recall correctly, we managed to get around this by adding a space to the regex in the setting UTF8_Channel_Names_Validation in the General section of the settings, and changing the UI_Allow_room_names_with_special_chars to the false option under the User Interface section in the Layout section of the settings

Thanks! Funny I tried that, and somehow "@" replies stopped working. But the allow room names special chars did it! Woohoo!

@roygold7
Copy link

roygold7 commented May 5, 2020

@softwaredoug

This is pretty annoying if you create a Discussion (which allows spaces) then rename the discussion. It forces you to put dashes or something in the name. Lack of spaces in room names just feels arbitrary. We are just starting to use Rocket Chat from Flowdock, which allowed spaces in names... which only improved the readability of the room names

If I recall correctly, we managed to get around this by adding a space to the regex in the setting UTF8_Channel_Names_Validation in the General section of the settings, and changing the UI_Allow_room_names_with_special_chars to the false option under the User Interface section in the Layout section of the settings

Thanks! Funny I tried that, and somehow "@" replies stopped working. But the allow room names special chars did it! Woohoo!

There's definitely a way for "@" replies to still work but I'm not really involved with the project anymore so I don't know how to fix it but I'm sure it's just a matter of paying around with settings.

@nallathambis
Copy link

I am unable to create a channel with spaces in its name. I've tried adding a space to the RegExp in the UTF-8 option in Adminstration > General > UTF-8.
Is there an option in the administration settings that I missed? Is it addressed in the documentation?

Thanks you, the above change worked [0-9a-zA-Z-_. ]+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants