Prefill discussion reply textarea with usernames of other discussions participants
When hitting the Reply...
button on an MR discussion, I would like the textarea to automatically be prefilled with the usernames of everyone else (but me) who was involved in the discussion, like so:
I use todos (which are only created for explicit mentions; not for any discussion response), and have my notification level set to "Only mentions", so I don't get notified of responses to my MR feedback unless the other person explicitly prefixes with @DouweM
, which most people remember to do, but is pretty easy to forget, as in the example here.
By automatically prefilling the reply textarea with the relevant usernames, we can prevent this from happening. If, for some reason, the person replying doesn't want to mention these people, they can easily Cmd+A + Delete/Backspace to get rid of the mention. I imagine, however, that in the vast majority of cases, the mention is actually desired, and this saves the user from having to remember to add it, and from actually going through the motions to type it, wait for the autocomplete to show up, etc.
I'm approaching the problem from the MR perspective, but we should also add this to discussions on issues, commits, etc.
@smcgivern @victorwu What do you think?
/cc @tiagonbotelho