Trigger mentions with non-whitespace before `@`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
Is your feature request related to a problem? Please describe.
To trigger mentions the character before the @ has to be a white space. Is there a reason for that? User repetedly reported this as very confusing, because it "sometimes works and sometime not", or "can't mention users in between brackets", because (@user) does not work, it has to be @user <- mark white space after opening bracket.
Describe the solution you'd like
I see the problem when typing email addresses or similar user handles. Mayby allow triggering mentions with @'s right after a special character? E.g. after (, : and so on?
Common use cases would be something like
- Bring food (@user)
- Bring drinks:@user
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
The issue names no files, tests, or entry points. Start by locating the JavaScript editor logic that detects mention triggers, then compare the current whitespace rule with the examples (@user) and drinks:@user; done means supported punctuation cases trigger mentions without incorrectly matching email addresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100