matrix-org / matrix-org/matrix-viewer

Add message search functionality

Open
#192 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.