25

On the same note as this request to show profile pictures when drilling down to a specific user in search, it'd be swell if the chat @ autocomplete could show a tiny profile picture next to each person's name.

enter image description here

It'd also be neat if the superping menu had this too.

An alternative for fixing my root issue (confusion when pinging co-workers) would be to stop hiring people named "Ben" or "Jon", but I think technically that falls under "discrimination".

  • 2
    I was the first Ben, so I'm okay with that. – balpha Sep 18 '14 at 19:40
  • 3
    Or alternatively, we can just rename all the Bens and Jons to Kasra. We can never have enough Kasras. – jmac Sep 25 '14 at 13:46
33

Here you go:

screenshot of the new tab completer including avatars

I've made multiple improvements to the tab autocompleter:

  • The autocompleter now shows avatars.
  • The autocompleter now shows the user name including spaces (small change, but it looks nicer). The actually inserted name will still be stripped of spaces, of course.
  • The people that show up in the autocompleter and the people that can be notified with a @mention are now in sync. That's of course a reasonable expectation to have, but it hasn't been true so far. If you can ping someone with a mention in the current room (the rules of which can be found here), they will show up (unless you have them in your ignore list), and if you can't, they won't.
  • We now show more matches (up to ten instead of five).
  • When you have multiple matches and you cycle through them with the tab key (or by clicking), we no longer use bolding to highlight the current choice (which would always cause things to jump around, since bold text is much wider).
  • It's a little prettier. I think so, anyway.
  • 2
    That's awesome. – Jaydles Sep 25 '14 at 13:57
  • 1
    Those are some fine looking people you are potentially going to ping. – Jon Ericson Sep 25 '14 at 16:35
  • 2
    This is all nice and great, but why did you have to change your undocumented API that my userscript depends on in the process? – John Dvorak Sep 25 '14 at 19:01
  • @JanDvorak That's more of your fault for relying on some random API that nobody except balpha probably knows about anyway, isn't it? :) – Doorknob Sep 25 '14 at 20:08
  • @Doorknob well, you have to rely on something, and this seemed like as good a choice as any – John Dvorak Sep 25 '14 at 21:15
  • @JanDvorak Because the old one sucked big time :) Feel free to ping me in the Tavern if you have concrete questions (as long as you don't take me answering them as official support). – balpha Sep 26 '14 at 4:31
  • 1
    Two additional requests while the code is fresh: moderator super pings and "when said by" in search could also benefit from having avatars. I suppose that's a lot more images that would need to be fetched, so it might be slow. But that's ok since both are pretty rare. (But having a way to distinguish between identical display names is especially useful in both cases.) – Jon Ericson Sep 26 '14 at 6:18
  • 1
    @JonEricson Yes, Kasra mentions that in the question as well, I plan to do that too. That code isn't fresh though, it's an entirely different area :) Although I'd like to improve the superping UI to work more like the autocomplete, if I can work out an intuitive way to do that. Either way, status-planned. – balpha Sep 26 '14 at 6:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .