[buddypress-trac] [BuddyPress Trac] #3278: @mentions autosuggest support

buddypress-trac noreply at wordpress.org
Sat Aug 2 11:27:43 UTC 2014


#3278: @mentions autosuggest support
------------------------------------+-----------------------
 Reporter:  DJPaul                  |       Owner:
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  2.1
Component:  Notifications           |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------

Comment (by DJPaul):

 > In mentions.js, for the 'suffix', can we add a space

 We could, but the goal here isn't to duplicate exactly how Twitter or
 Github's auto-complete work. :) In my experience with (heavily) using
 auto-suggestions in O2, I think no suffix works better. There's an
 interesting point on an at.js issue about this
 (https://github.com/ichord/At.js/pull/162), which I'll copy here:

  ...then no space is added when you insert a match. The completions list
 stays open, but you can then type a comma, period, or space (or whatever)
 which will hide the completions list. This preserves a more natural flow
 if you're using the UI completely via keyboard (type, @something,
 enter/tab to insert, then "!" to end a sentence for example).

 At any rate, this would be an easy one-line change to make.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3278#comment:46>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list