Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Allow room names to have spaces

Open danieljhochman opened this issue 9 years ago • 12 comments

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

danieljhochman avatar Jul 13 '17 15:07 danieljhochman

I like the idea. +1

localguru avatar Jul 19 '17 21:07 localguru

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.

JSzaszvari avatar Jul 28 '17 12:07 JSzaszvari

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?

roygold7 avatar Jul 04 '18 14:07 roygold7

please check https://github.com/RocketChat/Rocket.Chat/pull/7595

sampaiodiego avatar Jul 04 '18 16:07 sampaiodiego

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

roygold7 avatar Jul 04 '18 16:07 roygold7

@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

sampaiodiego avatar Jul 04 '18 16:07 sampaiodiego

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

kaiiiiiiiii avatar Jul 04 '18 17:07 kaiiiiiiiii

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

softwaredoug avatar May 05 '20 18:05 softwaredoug

@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

roygold7 avatar May 05 '20 19:05 roygold7

@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!

softwaredoug avatar May 05 '20 19:05 softwaredoug

@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.

roygold7 avatar May 05 '20 19:05 roygold7

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-_. ]+

nallathambis avatar Sep 09 '20 07:09 nallathambis