Rocket.chat: Allow room names to have spaces

Created on 13 Jul 2017  路  12Comments  路  Source: RocketChat/Rocket.Chat

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

sponsored

Most helpful comment

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?

All 12 comments

I like the idea. +1

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.

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?

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

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

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

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

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

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

engelgabriel picture engelgabriel  路  91Comments

engelgabriel picture engelgabriel  路  158Comments

johnyb0y picture johnyb0y  路  53Comments

chrisvella picture chrisvella  路  96Comments

dennis-f picture dennis-f  路  62Comments