Homec4science

Improve some typeahead matching behaviors

Authored by epriestley <git@epriestley.com> on Jun 9 2016, 22:13.

Description

Improve some typeahead matching behaviors

Summary:
Ref T8510. Sort prefix matches above non-prefix matches, so that "Ape Discovery" does not match "discovery" better than "Discovery".

Sort functions last.

Rename function internal strings so they don't get over-promoted the prefix-match rules.

Add kind of a hack to get "Project X" sorting above all the "Project X (Milestone 1)" results.

Test Plan:
Created "Ape Discovery", "Baboon Discovery", "Chimpanzee Discovery", etc.

Main project now sorts above milestones:

{F1681773}

Prefix matches now sort above other matches:

{F1681774}

Function results (rarely used) are now less prominent:

{F1681775}

Better function results here:

{F1681776}

More function results:

{F1681777}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8510

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

Details

Committed
epriestley <git@epriestley.com>Jun 9 2016, 22:22
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc694bd651b49: Make base64 the default SMTP encoding
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHad0562e15e38: Improve some typeahead matching behaviors (authored by epriestley <git@epriestley.com>).Jun 9 2016, 22:22