Support using user mentions in comments to tag people for needinfo




2 years ago
3 months ago


(Reporter: ehumphries, Unassigned)


(Depends on: 2 bugs, {bmo-ux})

Dependency tree / graph


+++ This bug was initially created as a clone of Bug #634947 +++

Following twitter's '@username' convention for mentions, GitHub uses '@username' for mentions which users get emailed on. 

We could do the same for needinfo-ing users.

User could be mentioned by:

*, GSuite style
*, Twitter/Github/Mastodon style
* :nickname, if user mentioned has a `:nickname` reference in their 'realname' field

I thought we had a BMO bug for this but could not find it.
Probably should be blocked on private bugs, since a private bug may be in reference to an action on a bmo user account (suspension/ban/etc.)

Comment 3

2 years ago
I swear I filed a bug for this feature request (automatically setting needinfo or some other flag when there is a user mention in the form of a question). But, I searched and couldn't find the bug. I also couldn't find a mailing list conversation. So I guess it was either an IRC or IRL conversation with some subset of {mcote, glob, dylan, etc} and that's how I ended up being CCd on bug 634947.

FWIW, I think user mentions + notifications is the single biggest feature I wish BMO had. It is a subset of a larger feature of "help me find the bugs I need to look at."
:kohei, would you estimate this work? I agree that this is a feature we should have.
Flags: needinfo?(kohei.yoshino)

Comment 5

10 months ago
I also want to see this, but Bugzilla actually doesn't have usernames like GitHub, Twitter, etc. Adding :nickname to the real name field is just a local practice on BMO. I think Bug 218917 needs to be solved first so the feature will be usable in the upstream as well.
Flags: needinfo?(kohei.yoshino)

Comment 6

10 months ago
I meant Bug 1372631.
Depends on: 1372631


10 months ago
Keywords: bmo-ux
Could we do it with the convention like Google?
Flags: needinfo?(kohei.yoshino)
It's an option but feels weird to me. No one uses Google+ any more, while most people are familiar with @username mentions on GitHub and Twitter. Perhaps we could implement prototype code using :username lookups on BMO first :)
Flags: needinfo?(kohei.yoshino)
FWIW I've seen systems support @<real name>, e.g. CASA (our legal/finance-review tool).

Comment 10

9 months ago
@username is pretty ubiquitous (GitHub, Bitbucket, GitLab, and Twitter). It is 1 character, so easy to type. A single sigil on the left side makes it easier to implement autocomplete. I think we should go with the common solution rather than create more fragmentation between our tools and the rest of the world.


3 months ago
See Also: → bug 1474153


3 months ago
Depends on: 1469911
As mentioned in Bug 1474153, colon could be used for emoji input. We should have the same behaviour as GitHub not to confuse users.

* @username to notify that person (probably needinfo on Bugzilla)
* :emoji: to input common emoji
Note the new /rest/user/suggest API (on bugzilla-dev) will take a match-string beginning with @.

e.g. /rest/user/suggest?match=@dkl

Comment 13

3 months ago
It'd be good to encourage people to use nicknames, as having a nickname set makes the migration path away from email as user identifier more straight-foreword.
I guess the Markdown work needs to be done first.
Depends on: 1456878


3 months ago
See Also: → bug 1478901
You need to log in before you can comment on or make changes to this bug.