[wp-meta] [Making WordPress.org] #2488: Add Twitter/Github style username autocomplete/linking to support forums.

Making WordPress.org noreply at wordpress.org
Wed Feb 8 22:59:21 UTC 2017


#2488: Add Twitter/Github style username autocomplete/linking to support forums.
----------------------------+-----------------
 Reporter:  danieliser      |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Support Forums  |   Keywords:
----------------------------+-----------------
 The aim here is so that you can quickly tag another user just by typing
 @username in the TinyMCE editor.

 As you type characters after the @ symbol it will begin suggesting
 usernames. Hitting enter, space or selecting one of the suggestions will
 autocomplete the username as well as wrapping it with a link to the users
 profiles.wordpress.org page.

 Though this is currently limited in scope to @usernames, it can easily be
 used to handle other automated content linking such as trac tickets via
 hash (#) or similar.

 I have code for this already that I will be porting to work for bbPress 2.

 The code currently can support templates for the returned result to pull
 from the theme but is written to send back json and render simple link via
 JavaScript.

 Considerations to be made:
 - Minimum number of characters before api requests are made.
 - Number of results
 - Caching mechanisms for results
 - Should there any limitations on who can use this beyond being logged in?

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2488>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list