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

Side by Side Diff: Tools/GardeningServer/ui/ct-unexpected-failures.html

Issue 371133003: Add failed builders to sheriff-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: async instead of endMicrotask 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
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-analyzer.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/paper-button/paper-button.html"> 7 <link rel="import" href="../bower_components/paper-button/paper-button.html">
8 <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> 8 <link rel="import" href="../bower_components/paper-toast/paper-toast.html">
9 <link rel="import" href="ct-failing-builders.html">
9 <link rel="import" href="ct-failure-analyzer.html"> 10 <link rel="import" href="ct-failure-analyzer.html">
10 <link rel="import" href="ct-failure-grouper.html"> 11 <link rel="import" href="ct-failure-grouper.html">
11 <link rel="import" href="ct-failure-stream.html"> 12 <link rel="import" href="ct-failure-stream.html">
12 13
13 <polymer-element name="ct-unexpected-failures"> 14 <polymer-element name="ct-unexpected-failures">
14 <template> 15 <template>
15 <style> 16 <style>
16 paper-toast { 17 paper-toast {
17 bottom: 40px; 18 bottom: 40px;
18 left: 10px; 19 left: 10px;
19 } 20 }
21
20 paper-button { 22 paper-button {
21 background: #4285f4; 23 background: #4285f4;
22 color: #fff; 24 color: #fff;
23 } 25 }
26
27 ct-failing-builders {
28 margin-left: 365px;
29 padding: 5px;
30 }
24 </style> 31 </style>
25 <ct-failure-analyzer id="analyzer" status="{{analyzerStatus}}" failures="{{f ailures}}"></ct-failure-analyzer> 32 <ct-failure-analyzer id="analyzer" status="{{ analyzerStatus }}" failures="{ { failures }}"></ct-failure-analyzer>
26 <ct-failure-grouper failures="{{failures}}" groups="{{failureGroups}}"></ct- failure-grouper> 33 <ct-failure-grouper failures="{{ failures.unexpected }}" groups="{{ failureG roups }}"></ct-failure-grouper>
27 <paper-button on-tap="{{update}}">Update</paper-button> 34 <div>
28 <ct-failure-stream groups="{{failureGroups}}"></ct-failure-stream> 35 <paper-button on-tap="{{ update }}">Update</paper-button>
29 <paper-toast id="toast" text="{{analyzerStatus}}"></paper-toast> 36 <ct-failing-builders builders="{{ failures.builders }}"></ct-failing-build ers>
37 </div>
38 <ct-failure-stream groups="{{ failureGroups }}"></ct-failure-stream>
39 <paper-toast id="toast" text="{{ analyzerStatus }}"></paper-toast>
30 </template> 40 </template>
31 <script> 41 <script>
32 Polymer({ 42 Polymer({
33 attached: function() { 43 attached: function() {
34 this.update(); 44 this.update();
35 }, 45 },
36 46
37 update: function() { 47 update: function() {
38 this.$.analyzer.update(); 48 this.$.analyzer.update();
39 }, 49 },
40 50
41 analyzerStatusChanged: function() { 51 analyzerStatusChanged: function() {
42 this.$.toast.show(); 52 this.$.toast.show();
43 }, 53 },
44 }); 54 });
45 </script> 55 </script>
46 </polymer-element> 56 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-analyzer.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698