RocketChat / RocketChat/Rocket.Chat

Message search is affected by text markup

Open
#3,064 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Your Rocket.Chat version: 0.28.0

Current behaviour:

  • Write a message in a room: /me foo bar baz
  • Search the room for baz, you'll get 0 results
  • Search the room for baz_, you'll get your line back

Expected behaviour:

  • The user should not have to specify _ to search for words from /me sentences

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

No file or test entry point is named in the issue. Reproduce the /me foo bar baz message and search for baz and baz_; trace the message-search handling and markup behavior, then verify that searching for baz returns the message without requiring an underscore.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
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.