huacnlee/ruby-china — pull request #152 by siuying (2011-12-05 19:19:15+00:00)
Title: topic reply @mention autocomplete

Add auto completion of user login in reply dialog

Result: http://f.cl.ly/items/3s0U2a0P26292R0e2A3W/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202011-12-06%20%E4%B8%8A%E5%8D%8803.13.17.png

## Implementation

* Use soulmate, which use redis to effectively index usernames
* Use jquery-ui, jquery-autocompleteTrigger plugin
* Use ajax to query username autocomplete. If round-trip-time of ajax is an issue, can implement a download all user name implementation.