Page MenuHomePhabricator

Improve some typeahead matching behaviors
ClosedPublic

Authored by epriestley on Jun 9 2016, 8:16 PM.
Tags
None
Referenced Files
F15558076: D16094.id38724.diff
Tue, Apr 29, 12:54 AM
F15537540: D16094.id.diff
Thu, Apr 24, 2:25 PM
F15531060: D16094.diff
Wed, Apr 23, 9:24 AM
F15507963: D16094.id38720.diff
Wed, Apr 16, 12:44 AM
F15463491: D16094.diff
Apr 2 2025, 12:07 AM
F15454811: D16094.diff
Mar 29 2025, 8:32 PM
F15430170: D16094.id38724.diff
Mar 24 2025, 6:19 AM
F15427785: D16094.id.diff
Mar 23 2025, 4:00 PM
Subscribers
None

Details

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:

Screen Shot 2016-06-09 at 1.12.25 PM.png (247×467 px, 26 KB)

Prefix matches now sort above other matches:

Screen Shot 2016-06-09 at 1.12.29 PM.png (306×522 px, 27 KB)

Function results (rarely used) are now less prominent:

Screen Shot 2016-06-09 at 1.12.37 PM.png (242×412 px, 29 KB)

Better function results here:

Screen Shot 2016-06-09 at 1.12.42 PM.png (248×425 px, 34 KB)

More function results:

Screen Shot 2016-06-09 at 1.12.50 PM.png (225×377 px, 31 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable