RocketChat / RocketChat/Rocket.Chat
Mentions don't work in attachment description
Open
Nobody has claimed this yet.
type: bug
type: improvement
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
We can't use mentions inside attachment's description.
Steps to reproduce:
- type some mention tag
- attach some attachment (e.g. image)
- send message
Expected behavior:
Mentioning works.
Actual behavior:
Mention degenerates into plain text.
Server Setup Information:
Tested on https://open.rocket.chat
Client Setup Information
-
Additional context
Video demo: https://user-images.githubusercontent.com/2260980/174446155-cd415a0b-bb32-4d0b-8d5c-256b784347ce.mp4
Relevant logs:
-
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
Reproduce the issue on the linked open.rocket.chat instance using the listed steps, then trace how mention tags in attachment descriptions are processed before a message is sent. Done means a mention in an attachment description remains a working mention rather than becoming plain text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100