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

Issue 2372323002: Add pageable data widget (Closed)

Created:
4 years, 2 months ago by kjlubick
Modified:
4 years, 2 months ago
Reviewers:
KevinL, stephana
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, M-A Ruel
Base URL:
git@github.com:luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add pageable data widget This allows the user to request more data if they need it. This has been integrated into bot-page and can be added to bot-list and task-list as well. So far this seems to speed up the bot-page a bit because the initial query for data is smaller. It seems that the previous logic of paging for the last 200 tasks was the most expensive part of the whole page. BUG=631047 Committed: https://github.com/luci/luci-py/commit/ccab439ed6c9fd19044e6b00945219c991d935e8

Patch Set 1 #

Patch Set 2 : Fix styles #

Patch Set 3 : Add docs #

Total comments: 18

Patch Set 4 : Address nits #

Patch Set 5 : Add _showEvents #

Patch Set 6 : Add doc about hidden$= #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -47 lines) Patch
M appengine/swarming/elements/build/elements.html View 1 2 3 4 5 6 7 chunks +140 lines, -5 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page.html View 1 2 3 4 5 6 12 chunks +67 lines, -10 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page-data.html View 1 2 3 6 chunks +12 lines, -29 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page-demo.html View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/common-behavior.html View 1 chunk +4 lines, -0 lines 0 comments Download
A appengine/swarming/elements/res/imp/common/pageable-data.html View 1 2 3 1 chunk +163 lines, -0 lines 0 comments Download
A appengine/swarming/elements/res/imp/common/pageable-data-demo.html View 1 chunk +106 lines, -0 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/swarming-app.html View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 21 (8 generated)
kjlubick
https://screenshot.googleplex.com/wz4JZFtGn58 Play with at https://2365-bd022ad-tainted-kjlubick-dot-chromium-swarm-dev.appspot.com/newui/bot?id=build243-m4
4 years, 2 months ago (2016-09-27 19:44:06 UTC) #3
stephana
Overall this looks good, lots of small nits. https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html File appengine/swarming/elements/res/imp/botpage/bot-page.html (right): https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html#newcode287 appengine/swarming/elements/res/imp/botpage/bot-page.html:287: hidden$="[[_truthy(_selected)]]" ...
4 years, 2 months ago (2016-09-28 13:25:23 UTC) #4
kjlubick
Also added docs for the now public methods of bot-page-data https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html File appengine/swarming/elements/res/imp/botpage/bot-page.html (right): https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html#newcode287 ...
4 years, 2 months ago (2016-09-28 13:50:37 UTC) #5
stephana
https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html File appengine/swarming/elements/res/imp/botpage/bot-page.html (right): https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html#newcode287 appengine/swarming/elements/res/imp/botpage/bot-page.html:287: hidden$="[[_truthy(_selected)]]" On 2016/09/28 13:50:36, kjlubick wrote: > On 2016/09/28 ...
4 years, 2 months ago (2016-09-28 15:45:33 UTC) #6
kjlubick
On 2016/09/28 at 15:45:33, stephana wrote: > https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html > File appengine/swarming/elements/res/imp/botpage/bot-page.html (right): > > https://codereview.chromium.org/2372323002/diff/40001/appengine/swarming/elements/res/imp/botpage/bot-page.html#newcode287 ...
4 years, 2 months ago (2016-09-28 15:49:28 UTC) #7
kjlubick
I added a _showEvents as we discussed.
4 years, 2 months ago (2016-09-28 17:25:25 UTC) #8
kjlubick
On 2016/09/28 at 17:25:25, kjlubick wrote: > I added a _showEvents as we discussed. Doc ...
4 years, 2 months ago (2016-09-28 19:08:17 UTC) #9
stephana
On 2016/09/28 19:08:17, kjlubick wrote: > On 2016/09/28 at 17:25:25, kjlubick wrote: > > I ...
4 years, 2 months ago (2016-09-28 19:24:14 UTC) #10
KevinL
lgtm
4 years, 2 months ago (2016-09-28 19:24:55 UTC) #12
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/2372323002/100001
4 years, 2 months ago (2016-09-28 19:25:04 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/318b15194333d310)
4 years, 2 months ago (2016-09-28 19:28:36 UTC) #16
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/2372323002/120001
4 years, 2 months ago (2016-09-28 19:36:00 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 19:39:19 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://github.com/luci/luci-py/commit/ccab439ed6c9fd19044e6b00945219c991d935e8

Powered by Google App Engine
This is Rietveld 408576698