[LRUG] @mentions

Graham Ashton graham at effectif.com
Thu Nov 27 05:03:57 PST 2014


Hi Andrew. I’m using this on Agile Planner, and it ticks all your requirements and is quite straightforward to setup:

https://github.com/yuku-t/jquery-textcomplete

Cheers,
Graham

On 27 Nov 2014, at 13:01, Andrew Stewart <boss at airbladesoftware.com> wrote:

> Hello LRUG!
> 
> (This isn't a Ruby question.)
> 
> I would like to implement GitHub-style @mentions in my Rails app.  I'm not sure how to do the autocompleting dropdowns in the textareas.
> 
> I first tried to figure out what GitHub uses but didn't make much headway.  After that I looked around for prior art but could only find jquery plugins which haven't been updated for two years or more and have lots of open issues gathering dust.
> 
> I'm looking for something which:
> 
> - triggers when an @ is typed after a word break
> - loads a list of people (max 15-20)
> - shows the list in a dropdown at the cursor position
> - lets you navigate with arrow keys and hit tab/enter to autocomplete
> 
> Any suggestions?
> 
> Many thanks in advance,
> 
> Andy Stewart
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> Archives: http://lists.lrug.org/pipermail/chat-lrug.org
> Manage your subscription: http://lists.lrug.org/options.cgi/chat-lrug.org
> List info: http://lists.lrug.org/listinfo.cgi/chat-lrug.org




More information about the Chat mailing list