RocketChat / RocketChat/Rocket.Chat
Search issue
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Hi, my user called strange "Search" (magnifier icon on sidebar) behavior. When you type some random text i.e.zzzzzzzzzzzzzzzzz search shows nothing, but when tap "enter" redirect to DM with random user.
Issue can be reproduced on your https://open.rocket.chat/
Steps to reproduce:
- Go to sidebar search (magnifier icon)
- Type some random text which results empty
- Tap "enter"
- You are redirecting to DM with random user
Expected behavior:
No redirection when search result is empty
Actual behavior:
You are redirecting to DM with "random" user
Server Setup Information:
- Version of Rocket.Chat Server: 3.13.1
- Operating System: Centos 7
- Deployment Method: docker-compose
- Number of Running Instances: 31
- DB Replicaset Oplog: YES
- NodeJS Version: v12.21.0
- MongoDB Version: 4.0.13
Client Setup Information
- Desktop App or Browser Version: all
- Operating System: Windows 10
Additional context
Relevant logs:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in the sidebar search on open.rocket.chat using a random query with no results, then trace the search entry point in the TypeScript client code. Done means pressing Enter on an empty result does not redirect to a direct message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100