element-web/src/autocomplete
David Baker 9c8c84485a Fix user autocompleting
This rewrites quite a lot of QueryMatcher.
 * Remove FuzzyMatcher which was a whole file of commented out code
   that just deferred to QueryMatcher
 * Simplify & remove some cruft from QueryMatcher, eg. most of the
   KeyMap stuff was completely unused.
 * Don't rely on object iteration order, which fixes a bug where
   users whose display names were entirely numeric would always
   appear first...
 * Add options.funcs to QueryMatcher to allow for indexing by things
   other than keys on the objects
 * Use above to index users by username minus the leading '@'
 * Don't include the '@' in the query when autocomple is triggered
   by typing '@'.

Fixes https://github.com/vector-im/riot-web/issues/6782
2018-10-11 18:34:01 +01:00
..
AutocompleteProvider.js merge develop 2018-07-09 17:50:07 +01:00
Autocompleter.js apply review feedback from @lukebarnard1 2018-07-09 19:54:57 +01:00
CommandProvider.js Kill FuzzyMatcher 2018-10-10 19:18:06 +01:00
CommunityProvider.js Kill FuzzyMatcher 2018-10-10 19:18:06 +01:00
Components.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
DuckDuckGoProvider.js delint, remove unused imports and fix flow annotations 2018-06-19 12:06:13 +01:00
EmojiProvider.js Kill FuzzyMatcher 2018-10-10 19:18:06 +01:00
NotifProvider.js merge develop 2018-07-09 17:50:07 +01:00
PlainWithPillsSerializer.js fix @room pill href=undefined and @room parsing breaking subsequent pills 2018-07-24 12:18:10 +01:00
QueryMatcher.js Fix user autocompleting 2018-10-11 18:34:01 +01:00
RoomProvider.js Kill FuzzyMatcher 2018-10-10 19:18:06 +01:00
UserProvider.js Fix user autocompleting 2018-10-11 18:34:01 +01:00