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

Issue 2266133002: Add filter to task-list (Closed)

Created:
4 years, 4 months ago by kjlubick
Modified:
4 years, 3 months ago
Reviewers:
KevinL, jcgregorio, stephana
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@extract-filters
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add filter to task-list The two big things in this CL are adding in the filtering mechanism (very similar to filtering bot-list) and migrating task-list-data to use sk.request. In the task list, you can dynamically choose your columns and quickly see the state of tasks, and cancel pending tasks. Assembling the tags (in task-list-data) is a bit trickier than the dimensions was for the botlist because there are many more tasks than bots, so the cron job can only run once per hour for the last hour's worth of data. BUG=631047 Committed: https://github.com/luci/luci-py/commit/deb944d9ff75f7c9c6d66072601cdb2c2dbed971

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : Migrate tasklist to use sk.request #

Patch Set 4 : Add colors, deduped link and better tags #

Patch Set 5 : tidy up and add task cancelling #

Total comments: 6

Patch Set 6 : Address nits #

Patch Set 7 : Fix default sort #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1387 lines, -131 lines) Patch
M appengine/swarming/elements/Makefile View 1 1 chunk +2 lines, -0 lines 0 comments Download
M appengine/swarming/elements/build/elements.html View 1 2 3 4 5 13 chunks +805 lines, -57 lines 0 comments Download
M appengine/swarming/elements/res/imp/botlist/bot-list.html View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/common-behavior.html View 1 2 3 4 5 2 chunks +35 lines, -2 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/dynamic-table-behavior.html View 1 2 3 4 1 chunk +0 lines, -8 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/swarming-app.html View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-filters.html View 1 2 3 4 5 2 chunks +187 lines, -25 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-list.html View 1 2 3 4 5 6 9 chunks +147 lines, -17 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-list-data.html View 1 2 3 3 chunks +170 lines, -21 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-list-demo.html View 1 2 3 4 2 chunks +23 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
kjlubick
On live data https://2288-384b2db-tainted-kjlubick-dot-chromium-swarm-dev.appspot.com Demo with better mock data https://goto.google.com/ejfjw Filter at top https://screenshot.googleplex.com/9QYi5zezSSL Clickable ...
4 years, 4 months ago (2016-08-24 20:14:56 UTC) #4
jcgregorio
LGTM with some nits. https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html File appengine/swarming/elements/res/imp/common/common-behavior.html (right): https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html#newcode32 appengine/swarming/elements/res/imp/common/common-behavior.html:32: // is undefined. Clients should ...
4 years, 4 months ago (2016-08-24 20:39:07 UTC) #5
kjlubick
https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html File appengine/swarming/elements/res/imp/common/common-behavior.html (right): https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html#newcode32 appengine/swarming/elements/res/imp/common/common-behavior.html:32: // is undefined. Clients should check that bindTo is ...
4 years, 3 months ago (2016-08-25 12:39:10 UTC) #6
stephana
On 2016/08/25 12:39:10, kjlubick wrote: > https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html > File appengine/swarming/elements/res/imp/common/common-behavior.html (right): > > https://codereview.chromium.org/2266133002/diff/80001/appengine/swarming/elements/res/imp/common/common-behavior.html#newcode32 > ...
4 years, 3 months ago (2016-08-25 17:56:58 UTC) #7
KevinL
lgtm
4 years, 3 months ago (2016-08-25 17:57:47 UTC) #11
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/2266133002/120001
4 years, 3 months ago (2016-08-25 17:57:48 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 18:00:47 UTC) #14
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-py/commit/deb944d9ff75f7c9c6d66072601cdb2c2dbed971

Powered by Google App Engine
This is Rietveld 408576698