Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Issue 2692243003: [dashboard] Use fuzzy autocomplete in autocomplete-box (Closed)

Created:
3 years, 10 months ago by hjd
Modified:
3 years, 10 months ago
Reviewers:
sullivan, shatch
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[dashboard] Use fuzzy autocomplete in autocomplete-box Provides FuzzyAutocomplete, a drop in replacement for Trie. FuzzyAutocomplete matches a string with a query if each whitespace separated word in the query appears somewhere in the string. It sorts the results alphabetically rather than via a score as Trie does. BUG=catapult:#3212 Review-Url: https://codereview.chromium.org/2692243003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/16aa40a74e4b6003fb94789fdb8bf680881da435

Patch Set 1 #

Patch Set 2 : switch autocomplete for fuzzy search #

Patch Set 3 : switch autocomplete for fuzzy search #

Total comments: 1

Patch Set 4 : add score function #

Total comments: 1

Patch Set 5 : use decorate sort un-decorate pattern #

Patch Set 6 : remove else #

Patch Set 7 : fix 2nd new presubmit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -4 lines) Patch
M dashboard/dashboard/elements/autocomplete-box.html View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M dashboard/dashboard/elements/autocomplete-box-test.html View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A dashboard/dashboard/static/fuzzy_autocomplete.html View 1 2 3 4 5 6 1 chunk +81 lines, -0 lines 0 comments Download
A dashboard/dashboard/static/fuzzy_autocomplete_test.html View 1 2 3 4 5 6 1 chunk +155 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (16 generated)
shatch
This is awesome. https://codereview.chromium.org/2692243003/diff/40001/dashboard/dashboard/static/fuzzy_autocomplete.html File dashboard/dashboard/static/fuzzy_autocomplete.html (right): https://codereview.chromium.org/2692243003/diff/40001/dashboard/dashboard/static/fuzzy_autocomplete.html#newcode33 dashboard/dashboard/static/fuzzy_autocomplete.html:33: FuzzyAutocomplete.prototype.cmpItems_ = function(a, b) { Only ...
3 years, 10 months ago (2017-02-14 20:33:27 UTC) #4
hjd
On 2017/02/14 20:33:27, shatch wrote: > This is awesome. > > https://codereview.chromium.org/2692243003/diff/40001/dashboard/dashboard/static/fuzzy_autocomplete.html > File dashboard/dashboard/static/fuzzy_autocomplete.html ...
3 years, 10 months ago (2017-02-15 12:07:27 UTC) #5
shatch
Yeah that demo works really well, much slicker than what we have now! lgtm https://codereview.chromium.org/2692243003/diff/60001/dashboard/dashboard/static/fuzzy_autocomplete.html ...
3 years, 10 months ago (2017-02-15 15:06:13 UTC) #7
hjd
On 2017/02/15 15:06:13, shatch wrote: > Yeah that demo works really well, much slicker than ...
3 years, 10 months ago (2017-02-15 15:41:51 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692243003/80001
3 years, 10 months ago (2017-02-15 15:46:32 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/6142)
3 years, 10 months ago (2017-02-15 15:48:42 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692243003/100001
3 years, 10 months ago (2017-02-15 16:23:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/6145)
3 years, 10 months ago (2017-02-15 16:26:20 UTC) #18
hjd
On 2017/02/15 15:48:42, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-15 16:35:31 UTC) #19
hjd
On 2017/02/15 16:35:31, hjd wrote: > On 2017/02/15 15:48:42, commit-bot: I haz the power wrote: ...
3 years, 10 months ago (2017-02-15 16:36:11 UTC) #20
sullivan
lgtm
3 years, 10 months ago (2017-02-15 21:49:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692243003/100001
3 years, 10 months ago (2017-02-15 21:49:42 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/6156)
3 years, 10 months ago (2017-02-15 21:52:12 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692243003/120001
3 years, 10 months ago (2017-02-15 22:03:48 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 23:05:57 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698