# Name tagging with lots of matches

**URL:** https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902
**Category:** UX
**Created:** [April 13, 2017, 8:12am UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902 "2017-04-13T08:12:40Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Rob\_Nicholson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rob_nicholson/32/63483_2.png) [@Rob\_Nicholson](https://meta.discourse.org/u/Rob_Nicholson)
#### Post date: [April 13, 2017, 8:12am UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/1 "2017-04-13T08:12:41Z")

</div>

I was trying to tag a user known as Chris Cryne in a post. I typed @Chris and she wasn’t there so I assumed she wasn’t on Discourse. However, it turns out she is on there with her Sunday name of @Christine\_Cryne.

Quick question - why didn’t she turn up in the drop down list when I typed @Chris. When I’ve just typed that here, it found a @Christopher. Is it because the number of entries on the drop down list is limited and we have loads of people whose name starts with Chris?

If so, is the number of items on the drop down list configuration (in which case I’ll raise a ticket). Even if it configurable, CAMRA has 180,000 members. Sure, they’re not all on Discourse but over time that drop down list could get rather long. Does it need another mechanism maybe with a “More” type structure.

In addition, we’re going to start getting a significant number of duplicates. One assumes that the user is going to have to choose a unique name on sign-up and they might go for @John\_Smith2 - but how are people going to know who is who? Can some other metadata be displayed in the drop down list? CAMRA is arranged into branches so “@Rob_Nicholson (Macclesfield & East Cheshire)” would work well for me.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 13, 2017, 2:47pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/2 "2017-04-13T14:47:19Z")

</div>

> [@Rob\_Nicholson](#):
>
> Is it because the number of entries on the drop down list is limited and we have loads of people whose name starts with Chris?

Yes, most likely. I think it makes sense to at least present some sort of visual cue in the drop down to denote there are “more” matches.

 ![](https://global.discourse-cdn.com/meta/original/3X/7/9/794aaf2f37d929f2b6c9a759a1d78065ef56fd86.png)

Even if it is not clickable, at least it would be clear that there are more users matched.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 13, 2017, 5:10pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/3 "2017-04-13T17:10:40Z")

</div>

Where would that “more” link to? The users page with the search pre-filled?

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [April 13, 2017, 5:12pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/4 "2017-04-13T17:12:28Z")

</div>

Or maybe instead of “more” try out “showing X of Y” so there is a subtle hint there are more. (granted that may get confused with total number of users)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 13, 2017, 5:13pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/5 "2017-04-13T17:13:30Z")

</div>

> [@cpradio](#):
>
> showing X of Y

that is a non starter, it means we have to count all the users, imagine counting 50,012 users in a 1 million user table just cause you type @ a

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [April 13, 2017, 5:28pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/6 "2017-04-13T17:28:56Z")

</div>

Fair enough, I was simply trying to think of a phrase that may would better than “more” (not linked) or even creating “more” with a link that would take you away from the response you are trying to write.

Just “more” feels liks something people will attempt to click to “load more”, which I guess you could do. You could actually load 6 more, it would make for a fairly large autocomplete box, but the data is already there to be loaded (in a sense, as shown in the network tab of the call – it returns at max 20 results).

---

<div class="post-metadata">

### Author: ![Rob\_Nicholson](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rob_nicholson/32/63483_2.png) [@Rob\_Nicholson](https://meta.discourse.org/u/Rob_Nicholson)
#### Post date: [April 13, 2017, 5:50pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/7 "2017-04-13T17:50:52Z")

</div>

How about opening up a pop-up dialog that has a scroll bar that’s filled as you drag it down. Sure performance might be sluggish. It could also display that additional data to help isolate the user. In a traditional postback world with a grid control, one would use the page mechanism. Yes I know you don’t like paged results.

Aside - discovered you can type @surname and that finds Chris but wouldn’t have helped me here directly as my first assumption was she wasn’t on Discourse. Plus we have a lot of “Smiths”.

---

<div class="post-metadata">

### Author: ![nicatronTg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nicatrontg/32/103643_2.png) [@nicatronTg](https://meta.discourse.org/u/nicatronTg)
#### Post date: [April 13, 2017, 8:29pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/8 "2017-04-13T20:29:57Z")

</div>

While I doubt this would help the use case @Rob_Nicholson has, specifically, a query that returns users that have been frequently contacted by a person could be used instead. It might not be a great UX for the first time you mention @.someone, but the second time @.someone would be the first person the system could come up with.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 13, 2017, 8:56pm UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/9 "2017-04-13T20:56:40Z")

</div>

I agree we could do a better job here, @sam’s suggestion is a good one, but I am unclear what “more” goes to at the moment.

---

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [April 14, 2017, 1:05am UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/10 "2017-04-14T01:05:02Z")

</div>

This came up on our instance recently. I recommended the approach of typing `@Surname`.

I think it may be worth looking to Facebook for some inspiration here:

One improvement could be to not have the pop-up exit until a name is selected or a click away from the pop up.

Then I could type `@Sam Saff` to complete @sam’s name.

It could even allow me to type `@Sa Saff`

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [April 14, 2017, 3:18am UTC](https://meta.discourse.org/t/name-tagging-with-lots-of-matches/60902/11 "2017-04-14T03:18:56Z")

</div>

This kind of discussion has occurred before, specifically for showing more:

> [@@mention autocomplete: can we increase number of users and groups offered? scroll down?](https://meta.discourse.org/t/mention-autocomplete-can-we-increase-number-of-users-and-groups-offered-scroll-down/38736):
>
> We have 9 groups we use for mentioning and messaging staff, all with the same @namati\_ prefix. Unfortunately only six show up when you start typing @namati\_ in the composer. There also is nowhere else to go as a user to find the full, current list of groups that can be messaged or mentioned. So suggest upping the number of suggested groups to 10 or providing a means to scroll down or arrow down to pull up more matching results.
