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
Autocompleter.js
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
DuckDuckGoProvider.js
EmojiProvider.js Kill FuzzyMatcher 2018-10-10 19:18:06 +01:00
NotifProvider.js
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