RocketChat / RocketChat/Rocket.Chat

Says invalid name if you press spacebar after entering channel name without spaces

Open
#20,929 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:
 Just  create a Channel and add a channel name and press spacebar and then it says invalid name ,even though the name doesn't have any  spaces 
Steps to reproduce:
  1. Go to create a channel
  2. Add a new channel name with or without spaces
Expected behavior:

It should just accept the channel name and create a channel

Actual behavior:

Screenshot (6)

Server Setup Information:
  • Version of Rocket.Chat Server: 3.1
  • Operating System: Windows
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 12.x
  • MongoDB Version: 4.x
Client Setup Information
  • Desktop App or Browser Version: Browser Version
  • Operating System: Windows
Additional context

I can work on this issue.

Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem in the channel creation UI described in the issue, using a channel name and pressing the spacebar after entry. Trace the channel-name validation path and verify that a valid name is accepted and the channel can be created without the erroneous invalid-name message.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.