Page MenuHomePhabricator

Make repo selector an autocomplete field
Closed, ResolvedPublicFeature

Description

I was wondering why I still often go to GitHub for search, and I think its because I often search within a single repo and it's just easier to select a single repo on GitHub than in codesearch.

We should have an autocomplete on the repo selector, to make it faster to search for and select a single repository. Possible make this a separate page even, because opening up the advanced just to select the specific repo I already know the name of is also not that efficient.

Event Timeline

Hmm, another reason is that I can quickly jump back and forth between repo browsing and repo search, maybe see if we can embed/link between gitles and codesearch a bit more than on just the search results ?

Aklapper changed the subtype of this task from "Task" to "Feature Request".Jan 21 2022, 3:49 PM

Change 804789 had a related patch set uploaded (by Krinkle; author: Krinkle):

[labs/codesearch@master] [WIP] frontend: Rewrite codesearch-beta, make feature-complete, fix bugs

https://gerrit.wikimedia.org/r/804789

Change 804785 had a related patch set uploaded (by Krinkle; author: Krinkle):

[labs/codesearch@master] frontend: Rewrite codesearch-beta, make feature-complete, fix bugs

https://gerrit.wikimedia.org/r/804785

Change 804789 abandoned by Krinkle:

[labs/codesearch@master] [WIP] frontend: Rewrite codesearch-beta, make feature-complete, fix bugs

Reason:

https://gerrit.wikimedia.org/r/804789

The above, rewrites the beta UI, and among other things implements an autocomplete multi-select field, powered by fuzzysort.

It is inspired by the implementation that ships with QUnit (upstream 1, upstream 2) as of this year.

Screenshot 2022-06-14 at 23.59.51.png (1,206×418 px, 33 KB)

Krinkle triaged this task as Medium priority.

Change 804785 merged by jenkins-bot:

[labs/codesearch@master] frontend: Rewrite codesearch-beta, make feature-complete, fix bugs

https://gerrit.wikimedia.org/r/804785

Krinkle edited projects, added: Performance-Team; removed: Patch-For-Review.