RocketChat / RocketChat/Rocket.Chat
Issue Tracker links not parsed using multiline message or inside brackets
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Issue Tracker Links are not parsed all the time:
- Using multiline Message and the Issue is at the beginning of a line (not on the first line)
- When using brackets
Steps to reproduce:
Write these messages:
First line
#1234 Second line
This is a test (#1234)
Expected behavior:
Issue number should be a hyperlink.
Actual behavior:
Server Setup Information:
- Version of Rocket.Chat Server: 4.4.2
- Operating System: Ubuntu
- Deployment Method: Docker
- Number of Running Instances: 1
- DB Replicaset Oplog: --
- NodeJS Version: v14.18.2
- MongoDB Version: 5.0
Client Setup Information
- Desktop App or Browser Version: Browser Version
- Operating System: MacOS 12.2.1
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 message rendering or issue-link parsing entry point and reproduce the two examples: a multiline message with #1234 at the start of a later line, and “This is a test (#1234)”. Done means both issue numbers are rendered as hyperlinks, with tests covering these cases if the existing parser test location is found.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100