RocketChat / RocketChat/Rocket.Chat

Feature Request: Message Search Navigation Within Channels (Jump to Message)

Open
#39,079 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Summary

In Rocket.Chat, when multiple messages exist in a channel or group, users often remember a part of a message but struggle to locate it manually. A search result that directly navigates to the message location would greatly enhance usability - similar to how apps like WhatsApp allow users to jump to the exact message from search results.


Problem Statement

Currently:

  • ✅ Users can search messages
  • ✅ Search results show matching messages
  • ❌ Clicking a result does not always scroll or highlight the exact message location in conversation history
  • ❌ Users must manually scroll, which is inefficient in large channels
  • ❌ Finding context around old messages is difficult

Proposed Feature

Implement a feature where:

  1. User searches for a message
  2. Clicking a search result automatically navigates and scrolls to that message in the channel
  3. The target message is highlighted for easy identification
  4. Context (previous and next messages) remains accessible

This behavior is standard in messaging platforms and significantly improves user experience.


Why This Feature Is Necessary

Better User Experience
  • Users can quickly locate messages without manual scrolling
  • Saves time in large channels
  • Improves message discovery and context retrieval
Improved Productivity
  • Teams can reference past discussions efficiently
  • Reduces frustration when searching for old information
  • Supports collaboration by making knowledge accessible
Industry Standard

Messaging platforms commonly provide direct navigation from search results. Implementing this feature aligns Rocket.Chat’s usability with modern tools.


Potential Implementation Approach

Frontend

  • Enhance search result click behavior
  • Scroll to message position in conversation
  • Highlight the target message
  • Preserve context visibility

Backend (if required)

  • Improve message indexing for faster lookup
  • Provide message position metadata

UI/UX Considerations

  • Smooth scrolling animation
  • Temporary highlight for visibility
  • Option to view surrounding messages

Expected Benefits

  • Faster message retrieval
  • Improved navigation
  • Enhanced user productivity
  • Familiar behavior for users from other messaging platforms

Conclusion

This feature aligns with user expectations for message search and navigation. It enhances usability without altering core functionality and provides meaningful improvement to day-to-day communication within channels.

I would like to contribute to this feature and help implement it. Please let me know the next steps.

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

Start by locating the existing message-search result click behavior in the frontend and trace how a selected result opens its channel context. Define the navigation, scrolling, highlighting, and surrounding-context behavior, then verify the result from a search in a large channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.