Page MenuHomePhabricator

Improve typeahead behavior around exact matches
Closed, ResolvedPublic

Description

@zeeg reports that on an install with more than 5 projects matching "Security", including an exact match for "Security", typeaheads can fill up with other matches and not allow selection of "Security".

We should sort shorter/exact matches first, so a result is always selectable by typing its name exactly.

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added a project: Infrastructure.
epriestley added subscribers: epriestley, zeeg.
btrahan added a revision: Restricted Differential Revision.Nov 17 2014, 11:11 PM
btrahan added a commit: Restricted Diffusion Commit.

Closed by commit rP81a13ed8bda8.

Wikimedia upgraded yesterday, and while typing "Wikidata" seems to bring "Wikidata" among the top five suggestions, it is not the top result, which makes us think that we can still run into scenarios like the one described here.

Details: https://phabricator.wikimedia.org/T76732#838798

When I type "Wikidata" on your install its the top result:

Screenshot_2014-12-11_09.51.06.png (687×1 px, 182 KB)

I can reproduce it on the WMF install in tokenizers:

Screen_Shot_2014-12-11_at_10.07.09_AM.png (318×934 px, 32 KB)

Oh, I thought this was about the global search. The existing patch only covers the global search in the upper right.

btrahan removed btrahan as the assignee of this task.
btrahan added a revision: Restricted Differential Revision.Jan 9 2015, 10:43 PM
btrahan closed this task as Resolved by committing Restricted Diffusion Commit.Jan 9 2015, 10:54 PM
btrahan added a commit: Restricted Diffusion Commit.