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

Issue 2991013002: config_service: Added revision and timestamp to config-set-cards and config-set pages (Closed)

Created:
3 years, 4 months ago by cwpayton
Modified:
3 years, 4 months ago
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

config_service: Added revision and timestamp to config-set-cards and config-set pages I refactored the code to avoid repitition by creating a common-behaviors.html file as well. BUG=749540 Review-Url: https://codereview.chromium.org/2991013002 Committed: https://github.com/luci/luci-py/commit/acf054e95ab4e943dadcab133bde9a8e5d5c5a97

Patch Set 1 #

Patch Set 2 : Adjusted tests accordingly #

Patch Set 3 : Nit: forgot to add launch icon to config set page #

Total comments: 10

Patch Set 4 : Added unit tests and fixed gitiles link icon #

Total comments: 2

Patch Set 5 : Added test file and null check to _formatCategory in config-set to fix failing test #

Total comments: 4

Patch Set 6 : Refactored test to give each function its own suite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -106 lines) Patch
A appengine/config_service/ui/common/common-behaviors.html View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-set.html View 1 2 3 4 10 chunks +52 lines, -40 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-set-card.html View 1 2 3 4 2 chunks +59 lines, -49 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-ui.html View 1 2 3 4 3 chunks +4 lines, -1 line 0 comments Download
M appengine/config_service/ui/src/config-ui/front-page.html View 1 2 3 4 4 chunks +16 lines, -12 lines 0 comments Download
A appengine/config_service/ui/test/common/common-behaviors_test.html View 1 2 3 4 5 1 chunk +106 lines, -0 lines 0 comments Download
M appengine/config_service/ui/test/config-ui/config-set_test.html View 1 2 3 4 4 chunks +10 lines, -4 lines 0 comments Download
M appengine/config_service/ui/test/index.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
cwpayton
PTAL
3 years, 4 months ago (2017-07-28 19:45:43 UTC) #2
cwpayton
Link to staging version here: https://3003-5925b54-tainted-cwpayton-dot-luci-config.appspot.com
3 years, 4 months ago (2017-07-28 21:15:22 UTC) #3
Sergey Berezin
Overall this is good; some polishing comments. https://codereview.chromium.org/2991013002/diff/40001/appengine/config_service/ui/common/common-behaviors.html File appengine/config_service/ui/common/common-behaviors.html (right): https://codereview.chromium.org/2991013002/diff/40001/appengine/config_service/ui/common/common-behaviors.html#newcode23 appengine/config_service/ui/common/common-behaviors.html:23: ConfigUIBehaviors.CommonBehavior = ...
3 years, 4 months ago (2017-07-31 20:21:19 UTC) #4
cwpayton
PTAL. Staging link is still the same. https://codereview.chromium.org/2991013002/diff/40001/appengine/config_service/ui/common/common-behaviors.html File appengine/config_service/ui/common/common-behaviors.html (right): https://codereview.chromium.org/2991013002/diff/40001/appengine/config_service/ui/common/common-behaviors.html#newcode23 appengine/config_service/ui/common/common-behaviors.html:23: ConfigUIBehaviors.CommonBehavior = ...
3 years, 4 months ago (2017-07-31 23:40:53 UTC) #5
Sergey Berezin
Missing the test file, otherwise the code looks good! Make sure to rebase your change ...
3 years, 4 months ago (2017-08-01 00:28:39 UTC) #6
cwpayton
PTAL. Added the test file for common-behaviors https://codereview.chromium.org/2991013002/diff/60001/appengine/config_service/ui/test/index.html File appengine/config_service/ui/test/index.html (right): https://codereview.chromium.org/2991013002/diff/60001/appengine/config_service/ui/test/index.html#newcode27 appengine/config_service/ui/test/index.html:27: 'common/common-behaviors_test.html?dom=shadow', On ...
3 years, 4 months ago (2017-08-01 16:09:00 UTC) #7
Sergey Berezin
LGTM + a couple of more suggestions. Thanks! https://codereview.chromium.org/2991013002/diff/80001/appengine/config_service/ui/test/common/common-behaviors_test.html File appengine/config_service/ui/test/common/common-behaviors_test.html (right): https://codereview.chromium.org/2991013002/diff/80001/appengine/config_service/ui/test/common/common-behaviors_test.html#newcode31 appengine/config_service/ui/test/common/common-behaviors_test.html:31: suite('unit ...
3 years, 4 months ago (2017-08-01 18:51:11 UTC) #8
cwpayton
https://codereview.chromium.org/2991013002/diff/80001/appengine/config_service/ui/test/common/common-behaviors_test.html File appengine/config_service/ui/test/common/common-behaviors_test.html (right): https://codereview.chromium.org/2991013002/diff/80001/appengine/config_service/ui/test/common/common-behaviors_test.html#newcode31 appengine/config_service/ui/test/common/common-behaviors_test.html:31: suite('unit test each function in common-behaviors.html', function() { On ...
3 years, 4 months ago (2017-08-01 19:18:49 UTC) #9
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/2991013002/100001
3 years, 4 months ago (2017-08-01 19:19:01 UTC) #12
commit-bot: I haz the power
3 years, 4 months ago (2017-08-01 19:20:44 UTC) #15
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://github.com/luci/luci-py/commit/acf054e95ab4e943dadcab133bde9a8e5d5c5a97

Powered by Google App Engine
This is Rietveld 408576698