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

Side by Side Diff: Tools/GardeningServer/ui/ct-results-panel.html

Issue 418253002: Expose the chromium waterfall in sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <link rel="import" href="../bower_components/core-menu/core-menu.html"> 7 <link rel="import" href="../bower_components/core-menu/core-menu.html">
8 <link rel="import" href="../bower_components/paper-item/paper-item.html"> 8 <link rel="import" href="../bower_components/paper-item/paper-item.html">
9 <link rel="import" href="ct-results-by-builder.html"> 9 <link rel="import" href="ct-results-by-builder.html">
10 <link rel="import" href="ct-embedded-flakiness-dashboard.html"> 10 <link rel="import" href="ct-embedded-flakiness-dashboard.html">
11 11
12 <polymer-element name="ct-results-panel" attributes="failures"> 12 <polymer-element name="ct-results-panel" attributes="failures tree">
13 <template> 13 <template>
14 <style> 14 <style>
15 :host { 15 :host {
16 display: flex; 16 display: flex;
17 flex-direction: column; 17 flex-direction: column;
18 } 18 }
19 19
20 paper-item.core-selected { 20 paper-item.core-selected {
21 font-weight: bold; 21 font-weight: bold;
22 } 22 }
(...skipping 26 matching lines...) Expand all
49 </template> 49 </template>
50 <template if="{{ failures.length }}"> 50 <template if="{{ failures.length }}">
51 <core-menu selected="{{ selected }}"> 51 <core-menu selected="{{ selected }}">
52 <template repeat="{{ failure in failures }}"> 52 <template repeat="{{ failure in failures }}">
53 <paper-item label="{{ failure.testName }}"></paper-item> 53 <paper-item label="{{ failure.testName }}"></paper-item>
54 </template> 54 </template>
55 </core-menu> 55 </core-menu>
56 <div class="results"> 56 <div class="results">
57 <!-- FIXME: Do this in a better way than comparing to the test name. --> 57 <!-- FIXME: Do this in a better way than comparing to the test name. -->
58 <template if="{{ failures[selected].testName != 'whole step failed' }}"> 58 <template if="{{ failures[selected].testName != 'whole step failed' }}">
59 <ct-embedded-flakiness-dashboard test="{{ failures[selected] }}"></ct- embedded-flakiness-dashboard> 59 <ct-embedded-flakiness-dashboard test="{{ failures[selected] }}" tree= "{{ tree }}"></ct-embedded-flakiness-dashboard>
60 </template> 60 </template>
61 <ct-results-by-builder failure="{{ failures[selected] }}"></ct-results-b y-builder> 61 <ct-results-by-builder failure="{{ failures[selected] }}"></ct-results-b y-builder>
62 </div> 62 </div>
63 </template> 63 </template>
64 </template> 64 </template>
65 <script> 65 <script>
66 Polymer({ 66 Polymer({
67 failures: [], 67 failures: [],
68 selected: 0, 68 selected: 0,
69 tree: '',
69 70
70 failuresChanged: function() { 71 failuresChanged: function() {
71 this.selected = 0; 72 this.selected = 0;
72 }, 73 },
73 }); 74 });
74 </script> 75 </script>
75 </polymer-element> 76 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698