RocketChat / RocketChat/Rocket.Chat
Search function for file names in groups and direct messages not working
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
I used the file search function in groups and direct messages, but it is not working.
(The search function works fine in channels.)
Additionally, I noticed that each time a character is entered into the search box, the API is called, leading to too many API requests when the keyword consists of multiple characters.
It would be better to allow the user to complete the keyword input and press Enter before triggering the API call.
Steps to reproduce:
Expected behavior:
can search file name
Actual behavior:
Search function for file names in groups and direct messages not working
Server Setup Information:
- Version of Rocket.Chat Server: 7.2
- License Type: Starter
- Number of Users: 5
- Operating System: Ubuntu 22.0.4
- Deployment Method: Docker image(pull from github of Rocket.chat)
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: 20.18.0
- MongoDB Version: 6.0
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
Start by reproducing file-name search in a group and a direct message, then compare it with the working channel search. Inspect the search input and API request behavior, especially the request made for each character; done means group and direct-message searches return files and the request runs only after Enter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100