RocketChat / RocketChat/Rocket.Chat
Search doesn't recognise when refreshed
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Search Messages doesn't work after refresh or even if you directly open a certain channel without interacting with the UI (for example, directly opening https://open.rocket.chat/channel/dev) and using the search doesn't work as there seems to be no reference to rid.
Steps to reproduce:
- Click on any channel and make sure it's selected (UI gets highlighted).
- Go to search(magnifying button) and search for any message
- Refresh the page.
- Notice UI for the channel doesn't get highlighted anymore.
- Search for the same thing to get "No results".
Expected behavior:
Search should have worked as it was working earlier.
Actual behavior:
Search doesn't work.

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 issue by opening a channel directly, refreshing the page, and searching for a message. Start from the search entry point and the refreshed channel-selection state; compare the working and failing flows. Done means message search returns the same results after refresh or direct channel navigation, with the channel still selected.
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
- Mostly clear
- Newbie friendliness
- 35/100