Homec4science

Immediately cancel autocomplete if the user types certain characters anywhere

Authored by epriestley <git@epriestley.com> on Jan 16 2016, 22:36.

Description

Immediately cancel autocomplete if the user types certain characters anywhere

Summary:
Ref T10163. Some characters are almost certainly punctuation or markup rather than autocomplete requests. Immediately cancel any active autocomplete when the user types one of these.

Note that some of these are also suffix characters. If you type @dog,, you have until the next character to decide you actually mean to autocomplete. Once you type something else we deactivate.

If you type #dog# or ##, we deactivate immediately.

Test Plan: Typed @dog#, etc.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10163

Differential Revision: https://secure.phabricator.com/D15036

Details

Committed
epriestley <git@epriestley.com>Jan 16 2016, 23:38
Pushed
aubortJan 31 2017, 17:16
Parents
rPHdf272dfa266b: Allow autocomplete to activate after ">", ":" or "!"
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH4f3a9a8aca25: Immediately cancel autocomplete if the user types certain characters anywhere (authored by epriestley <git@epriestley.com>).Jan 16 2016, 23:38