Add meta-options for users autocomplete on comment boxes for: author, assignee(s), reviewer(s)
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
When commenting on an issue/merge request when we type @
a dropdown is presented to quickly search users you want to mention.
This causes lookups in the backend as searches.
However, the most common scenarios (we theorize, could be confirmed) is to address other already-known participants: Authors, Assignees, Reviewers...
So how about we add:
@_authors
@_assignees
@_reviewers
programatically, always immediately visible in the @ dropdown, that would expand to the proper list of users upon selection (not upon submission, so the backend would never see these).
Any hurdles for this?
Screenshots
Loading (now) | Loading (proposal) |
---|---|
![]() |
![]() |
Details
The search is already limited to participants and that's still useful. But this would allow the @
dropdown to be context-aware of which page it's on and repurpose the data already loaded elsewhere for faster resolution.