RocketChat / RocketChat/EmbeddedChat
Feat : Add list formatting with auto-continuation to message composer
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 165
- Forks
- 381
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 1
Description
Summary
Add smart Markdown list formatting of ordered and unordered list to the message composer with auto-continuation (like Slack/Notion).
Problem
Currently, users must manually type list prefixes (1. , 2. , - ) when creating lists in messages. This is:
- Time-consuming and error-prone
- Inconsistent with modern chat applications
- Makes it harder to create well-formatted messages
Proposed Solution
Implement smart list formatting that:
Auto-continuation when pressing Shift+Enter:
- Automatically increments numbered lists (
1.→2.→3.) - Automatically adds bullet points for unordered lists
- Exits list mode when pressing
Shift+Enteron an empty list item
Markdown compatibility:
- Ordered lists:
1. Item - Unordered lists:
- Item
Demo of proposed changes
https://github.com/user-attachments/assets/b63a893c-2194-4d35-b5f8-e78454ecc139
Contributor guide
No contributing guide indexed for this repository
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 composer and its Shift+Enter handling. Review how composer text and Markdown list prefixes are currently processed, then compare behavior with the linked demo. Done means numbered and unordered lists continue correctly, and an empty list item exits list mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100