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

Issue 2338383002: Refactor prior to adding task-page (Closed)

Created:
4 years, 3 months ago by kjlubick
Modified:
4 years, 3 months ago
Reviewers:
KevinL, jcgregorio, 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

Refactor prior to adding task-page There should be no real visual changes here. This is minor bug fixes and refactoring to aid in the addition of task-page. This fixes the name of "limit"->"_limit" in the two filters. The latter was declared but the former was used. _taskLink and _botLink are consolidated into the common behavior to avoid duplication (and fixing the links in multiple places) Many styles that will be used by task-page are pulled out of bot-page and into single-page-style. _timeDiff* are pulled into common behavior (they will be used in task-page) _humanDuration is created in common behavior (to consolidate and allow for use in the templates of task-page) buttons now look more clickable (pointer cursor) task-list sorts times better when they don't have one task-list uses human.localeTime like the rest of the app The pages titles have been changed to be more useful when more tabs are open. Instead of "Swarming Bot List", it is now "Bot List - Swarming", which means if you have 20 tabs open, you see "Bot Li" instead of "Swarmin", which makes it easier to find the right tab. BUG=631047 Committed: https://github.com/luci/luci-py/commit/84f27f987cc82440fd47edb33e379f6505f6938a

Patch Set 1 #

Patch Set 2 : Fix merge regressions #

Patch Set 3 : Improve tab readibility of pages #

Patch Set 4 : Tweak docs #

Total comments: 6

Patch Set 5 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -213 lines) Patch
M appengine/swarming/elements/build/elements.html View 1 4 chunks +4 lines, -26 lines 0 comments Download
M appengine/swarming/elements/build/js/js.js View 1 chunk +1 line, -1 line 0 comments Download
M appengine/swarming/elements/res/imp/botlist/bot-filters.html View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M appengine/swarming/elements/res/imp/botlist/bot-list.html View 3 chunks +1 line, -14 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page.html View 1 4 chunks +30 lines, -97 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page-data.html View 1 2 3 2 chunks +7 lines, -2 lines 0 comments Download
M appengine/swarming/elements/res/imp/botpage/bot-page-shared-behavior.html View 1 chunk +0 lines, -22 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/common-behavior.html View 1 2 3 4 3 chunks +40 lines, -0 lines 0 comments Download
A appengine/swarming/elements/res/imp/common/single-page-style.html View 1 chunk +92 lines, -0 lines 0 comments Download
M appengine/swarming/elements/res/imp/common/swarming-app.html View 1 chunk +1 line, -0 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-filters.html View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-list.html View 2 chunks +2 lines, -10 lines 0 comments Download
M appengine/swarming/elements/res/imp/tasklist/task-list-data.html View 3 chunks +5 lines, -9 lines 0 comments Download
M appengine/swarming/elements/res/js/common.js View 2 chunks +12 lines, -11 lines 0 comments Download
M appengine/swarming/templates/public_bot_index.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M appengine/swarming/templates/public_botlist_index.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M appengine/swarming/templates/public_tasklist_index.html View 1 2 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (9 generated)
kjlubick
4 years, 3 months ago (2016-09-14 19:11:15 UTC) #3
stephana
LGTM modulo some nits https://codereview.chromium.org/2338383002/diff/60001/appengine/swarming/elements/res/imp/botlist/bot-filters.html File appengine/swarming/elements/res/imp/botlist/bot-filters.html (right): https://codereview.chromium.org/2338383002/diff/60001/appengine/swarming/elements/res/imp/botlist/bot-filters.html#newcode276 appengine/swarming/elements/res/imp/botlist/bot-filters.html:276: var lim = parseInt(this._limit) Nit: ...
4 years, 3 months ago (2016-09-15 16:33:52 UTC) #5
kjlubick
https://codereview.chromium.org/2338383002/diff/60001/appengine/swarming/elements/res/imp/botlist/bot-filters.html File appengine/swarming/elements/res/imp/botlist/bot-filters.html (right): https://codereview.chromium.org/2338383002/diff/60001/appengine/swarming/elements/res/imp/botlist/bot-filters.html#newcode276 appengine/swarming/elements/res/imp/botlist/bot-filters.html:276: var lim = parseInt(this._limit) On 2016/09/15 at 16:33:52, stephana ...
4 years, 3 months ago (2016-09-15 16:59:32 UTC) #6
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/2338383002/80001
4 years, 3 months ago (2016-09-19 18:16:26 UTC) #9
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 3 months ago (2016-09-19 18:16:28 UTC) #11
KevinL
lgtm
4 years, 3 months ago (2016-09-19 18:22:38 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/2338383002/80001
4 years, 3 months ago (2016-09-19 18:22:46 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 18:26:25 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-py/commit/84f27f987cc82440fd47edb33e379f6505f6938a

Powered by Google App Engine
This is Rietveld 408576698