RocketChat / RocketChat/Rocket.Chat
Feature Request: Message Search Navigation Within Channels (Jump to Message)
Nobody has claimed this yet.
- 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:
- User searches for a message
- Clicking a search result automatically navigates and scrolls to that message in the channel
- The target message is highlighted for easy identification
- 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
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 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