RocketChat / RocketChat/Rocket.Chat

Search doesn't recognise when refreshed

Open
#23,653 4 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:

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:
  1. Click on any channel and make sure it's selected (UI gets highlighted).
  2. Go to search(magnifying button) and search for any message
  3. Refresh the page.
  4. Notice UI for the channel doesn't get highlighted anymore.
  5. 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.

issue-with-search

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.