matrix-org / matrix-org/matrix-viewer
Add message search functionality
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Add message search in rooms and across all rooms
Workaround
Since the Matrix Public Archive is indexed by Google, use that instead: site:archive.matrix.org foo
Concerns/notes
How do we handle cases where the homeserver doesn't have a portion of history backfilled yet where relevant results could be? Search really needs some form of indicating where its gaps are (related to MSC2871)
Searching across all rooms is dubious as gaps will be all over across many rooms at different points. How do we convey this information to the user that you may be missing some messages? How do we empower the user to fill in the gaps?
UI/UX
Search within a room can easily just be an option in the chat header when viewing a room
I'm not sure how we will expose search across all rooms and differentiate it from room search we currently have on the homepage.
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 reviewing the existing room chat header and homepage UI, since the issue identifies both as possible search entry points. Define how room and cross-room searches expose incomplete history and how users can fill gaps, then confirm the resulting UX before implementation; no files or tests are named.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100