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

Issue 349783003: Polymer-based Garden-O-Matic should have a basic results panel (Closed)

Created:
6 years, 5 months ago by abarth-chromium
Modified:
6 years, 5 months ago
Reviewers:
eseidel, esprehn, michaelpg, ojan
CC:
esprehn, blink-reviews, dougle_chromium.org, Dirk Pranke, eseidel, michaelpg
Project:
blink
Visibility:
Public.

Description

Polymer-based Garden-O-Matic should have a basic results panel This CL makes it possible to examine failures on Sheriff-O-Matic (the Polymer version of Garden-O-Matic). Currently, the results panel just lets you select which test and builder you're interested in. It's not able to display the actual test results yet. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177189

Patch Set 1 #

Patch Set 2 : Remove comment #

Patch Set 3 : Fix UI nit #

Total comments: 11

Patch Set 4 : Now with tests #

Patch Set 5 : Address Michael's comments #

Total comments: 3

Patch Set 6 : Fix closing tag #

Total comments: 14

Patch Set 7 : Address ojan's comments #

Patch Set 8 : Moar flex #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+526 lines, -40 lines) Patch
M Tools/GardeningServer/bower.json View 1 chunk +2 lines, -1 line 0 comments Download
M Tools/GardeningServer/run-unittests.html View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M Tools/GardeningServer/scripts/ui.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M Tools/GardeningServer/sheriff-o-matic.html View 1 chunk +4 lines, -24 lines 0 comments Download
M Tools/GardeningServer/ui/ct-commit.html View 1 2 3 4 5 6 1 chunk +30 lines, -2 lines 1 comment Download
M Tools/GardeningServer/ui/ct-commit-tests.html View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
A Tools/GardeningServer/ui/ct-failure-card.html View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 2 comments Download
A Tools/GardeningServer/ui/ct-failure-card-tests.html View 1 2 3 1 chunk +29 lines, -0 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-stream.html View 1 chunk +3 lines, -4 lines 0 comments Download
A Tools/GardeningServer/ui/ct-failure-stream-tests.html View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A Tools/GardeningServer/ui/ct-results-by-builder.html View 1 chunk +42 lines, -0 lines 1 comment Download
A Tools/GardeningServer/ui/ct-results-by-builder-tests.html View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
A + Tools/GardeningServer/ui/ct-results-detail.html View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 1 comment Download
A Tools/GardeningServer/ui/ct-results-panel.html View 1 2 3 1 chunk +49 lines, -0 lines 0 comments Download
A Tools/GardeningServer/ui/ct-results-panel-tests.html View 1 2 3 1 chunk +134 lines, -0 lines 0 comments Download
M Tools/GardeningServer/ui/ct-sheriff-o-matic.html View 2 chunks +10 lines, -2 lines 1 comment Download
A Tools/GardeningServer/ui/ct-test-list.html View 1 2 3 4 5 6 1 chunk +25 lines, -0 lines 0 comments Download
A Tools/GardeningServer/ui/ct-test-list-tests.html View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
M Tools/GardeningServer/ui/ct-unexpected-failures.html View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
abarth-chromium
This CL has a bunch more of the component structure, but it doesn't have any ...
6 years, 5 months ago (2014-06-29 09:07:23 UTC) #1
michaelpg
https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html File Tools/GardeningServer/ui/ct-commit.html (right): https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html#newcode35 Tools/GardeningServer/ui/ct-commit.html:35: <a href="{{data.revision|changesetURL}}">{{data.revision}}</a> {{data.summary}} <em>{{data.author}}</em> Where does this data come ...
6 years, 5 months ago (2014-06-29 23:16:05 UTC) #2
michaelpg
https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html File Tools/GardeningServer/ui/ct-commit.html (right): https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html#newcode35 Tools/GardeningServer/ui/ct-commit.html:35: <a href="{{data.revision|changesetURL}}">{{data.revision}}</a> {{data.summary}} <em>{{data.author}}</em> On 2014/06/29 23:16:05, Michael Giuffrida ...
6 years, 5 months ago (2014-06-29 23:49:19 UTC) #3
abarth-chromium
https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html File Tools/GardeningServer/ui/ct-commit.html (right): https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-commit.html#newcode35 Tools/GardeningServer/ui/ct-commit.html:35: <a href="{{data.revision|changesetURL}}">{{data.revision}}</a> {{data.summary}} <em>{{data.author}}</em> Yep https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-test-list.html File Tools/GardeningServer/ui/ct-test-list.html (right): ...
6 years, 5 months ago (2014-06-29 23:52:26 UTC) #4
abarth-chromium
Ok, I added some tests. This should be ready to review now. Thanks!!
6 years, 5 months ago (2014-06-29 23:53:42 UTC) #5
abarth-chromium
https://codereview.chromium.org/349783003/diff/80001/Tools/GardeningServer/ui/ct-results-detail.html File Tools/GardeningServer/ui/ct-results-detail.html (right): https://codereview.chromium.org/349783003/diff/80001/Tools/GardeningServer/ui/ct-results-detail.html#newcode9 Tools/GardeningServer/ui/ct-results-detail.html:9: <polymer-element name="ct-results-detail" attributes="test builder"> No tests for this element ...
6 years, 5 months ago (2014-06-29 23:54:19 UTC) #6
michaelpg
Sorry for the email spamming, I've just been catching things as I try to get ...
6 years, 5 months ago (2014-06-29 23:58:32 UTC) #7
abarth-chromium
https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-failure-card.html File Tools/GardeningServer/ui/ct-failure-card.html (right): https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-failure-card.html#newcode38 Tools/GardeningServer/ui/ct-failure-card.html:38: last="{{failures[0].oldestFailingRevision}}"></ct-commits> Why are they reversed? The first (earliest) commit ...
6 years, 5 months ago (2014-06-30 00:43:29 UTC) #8
michaelpg
https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-failure-card.html File Tools/GardeningServer/ui/ct-failure-card.html (right): https://codereview.chromium.org/349783003/diff/40001/Tools/GardeningServer/ui/ct-failure-card.html#newcode38 Tools/GardeningServer/ui/ct-failure-card.html:38: last="{{failures[0].oldestFailingRevision}}"></ct-commits> Sorry, you're totally right. What I was actually ...
6 years, 5 months ago (2014-06-30 02:32:38 UTC) #9
eseidel
rslgtm. forward ho!
6 years, 5 months ago (2014-06-30 04:30:15 UTC) #10
ojan
lgtm as well. just a few nits. https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/run-unittests.html File Tools/GardeningServer/run-unittests.html (right): https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/run-unittests.html#newcode83 Tools/GardeningServer/run-unittests.html:83: <link rel="import" ...
6 years, 5 months ago (2014-06-30 04:48:14 UTC) #11
abarth-chromium
https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/ui/ct-commit.html File Tools/GardeningServer/ui/ct-commit.html (right): https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/ui/ct-commit.html#newcode14 Tools/GardeningServer/ui/ct-commit.html:14: padding: 5px 10px 5px 10px; Done https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/ui/ct-commit.html#newcode35 Tools/GardeningServer/ui/ct-commit.html:35: <a ...
6 years, 5 months ago (2014-06-30 04:55:06 UTC) #12
ojan
https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/ui/ct-failure-card.html File Tools/GardeningServer/ui/ct-failure-card.html (right): https://codereview.chromium.org/349783003/diff/100001/Tools/GardeningServer/ui/ct-failure-card.html#newcode18 Tools/GardeningServer/ui/ct-failure-card.html:18: min-height: 30px; On 2014/06/30 04:55:05, abarth wrote: > Otherwise ...
6 years, 5 months ago (2014-06-30 04:57:22 UTC) #13
abarth-chromium
On 2014/06/30 at 04:57:22, ojan wrote: > That said, don't use floats for this. Use ...
6 years, 5 months ago (2014-06-30 05:06:51 UTC) #14
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 5 months ago (2014-06-30 05:07:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/349783003/140001
6 years, 5 months ago (2014-06-30 05:07:10 UTC) #16
commit-bot: I haz the power
Change committed as 177189
6 years, 5 months ago (2014-06-30 05:11:52 UTC) #17
esprehn
6 years, 5 months ago (2014-07-01 19:47:45 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
File Tools/GardeningServer/ui/ct-commit.html (right):

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-commit.html:35: <a
href="{{data.revision|changesetURL}}">{{data.revision}}</a> {{data.summary}}
<em>{{data.author}}</em>
It's usually nice to put spaces around the pipe since it's easier to read.

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
File Tools/GardeningServer/ui/ct-failure-card.html (right):

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-failure-card.html:24: <div style="flex: 1">
I wouldn't use inline styles, if you want to go all polymer like there's a
"flex" attribute you can add that does this.

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-failure-card.html:26: <ct-commit-list
first="{{failures[0].newestPassingRevision + 1}}"
This is weird, why do you only care about the first entry?

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
File Tools/GardeningServer/ui/ct-results-by-builder.html (right):

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-results-by-builder.html:33: this.builders =
Object.getOwnPropertyNames(this.failure.resultNodesByBuilder);
Object.keys()

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
File Tools/GardeningServer/ui/ct-results-detail.html (right):

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-results-detail.html:16: Test: {{test}}<br>
Ick, can we use a <div> instead of a <br>?

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
File Tools/GardeningServer/ui/ct-sheriff-o-matic.html (right):

https://codereview.chromium.org/349783003/diff/140001/Tools/GardeningServer/u...
Tools/GardeningServer/ui/ct-sheriff-o-matic.html:49: this.currentFailures =
event.detail;
It's nicer to pass an object as the detail so you can expand this later without
changing callers.

event.detail.failures or something

Powered by Google App Engine
This is Rietveld 408576698