1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 07:12:41 +01:00
phorge-phorge/webroot/rsrc
epriestley 3c19004f9f Fix blur and sort behavior for autocomplete
Summary:
Ref T10163.

  - If you click a result, we get a blur before your click hits, and deactivate before the click can work. Instead, wait before responding to blur.
  - Use the standard sort handler which puts unixnames over human names. Also use the standard filter which deals with disabled users not matching unless they're the only match.

Test Plan:
  - Clicked a result, got a replacement.
  - Named myself "dog dog", typed "@dog", user "@dog" was now first match despite me being "@admin".
  - Used normal typeaheads to make sure I didn't break sort handler.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15031
2016-01-15 09:33:15 -08:00
..
css Add a motivational profile menu panel 2016-01-15 09:14:24 -08:00
externals Give custom controls passable disabled states 2015-12-17 15:13:28 -08:00
favicons Add mask-icon for Safari pinned tab 2015-11-22 13:04:06 -08:00
image Actual 2x avatar, new profile picture options 2015-12-04 13:24:25 -08:00
js Fix blur and sort behavior for autocomplete 2016-01-15 09:33:15 -08:00