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

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

Issue 555493005: [Sheriff-o-matic] Use before content hax to hide category labels instead of ever-present spans (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove premature builders category Created 6 years, 3 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-stream.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="../model/tree-status.html"> 8 <link rel="import" href="../model/tree-status.html">
9 <link rel="import" href="ct-failure-stream.html"> 9 <link rel="import" href="ct-failure-stream.html">
10 <link rel="import" href="ct-last-updated.html"> 10 <link rel="import" href="ct-last-updated.html">
(...skipping 28 matching lines...) Expand all
39 padding: 0 5px; 39 padding: 0 5px;
40 } 40 }
41 </style> 41 </style>
42 <div class="toolbar"> 42 <div class="toolbar">
43 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ failu res.builderLatestRevisions }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></c t-revision-details> 43 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ failu res.builderLatestRevisions }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></c t-revision-details>
44 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</ a> 44 <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</ a>
45 </div> 45 </div>
46 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status> 46 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status>
47 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status> 47 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status>
48 <ct-party-time failures="{{ failures.failures[tree].length == 0 }}"></ct-par ty-time> 48 <ct-party-time failures="{{ failures.failures[tree].length == 0 }}"></ct-par ty-time>
49 <ct-failure-stream category="default" groups="{{ failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream> 49 <ct-failure-stream title="Reliable failures" category="default" groups="{{ f ailures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-fa ilure-stream>
50 <span class="failure-group-header">Failures that have only happened once (on one bot):</span> 50 <ct-failure-stream title="Failures that have only happened once (on one bot) " category="failedOnce" groups="{{ failures.failures[tree] }}" commitLog="{{ com mitLog }}" tree="{{ tree }}"></ct-failure-stream>
51 <ct-failure-stream category="failedOnce" groups="{{ failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream> 51 <ct-failure-stream title="Snoozed failures" category="snoozed" groups="{{ fa ilures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-fai lure-stream>
52 <span class="failure-group-header">Snoozed failures:</span>
53 <ct-failure-stream category="snoozed" groups="{{ failures.failures[tree] }}" commitLog="{{ commitLog }}" tree="{{ tree }}"></ct-failure-stream>
54 </template> 52 </template>
55 <script> 53 <script>
56 (function() { 54 (function() {
57 Polymer({ 55 Polymer({
58 tree: '', 56 tree: '',
59 57
60 created: function() { 58 created: function() {
61 this.treeStatuses = {}; 59 this.treeStatuses = {};
62 var projects = ['chromium', 'blink']; 60 var projects = ['chromium', 'blink'];
63 for (var i = 0; i < projects.length; i++) { 61 for (var i = 0; i < projects.length; i++) {
64 this.treeStatuses[projects[i]] = new TreeStatus(projects[i]); 62 this.treeStatuses[projects[i]] = new TreeStatus(projects[i]);
65 } 63 }
66 }, 64 },
67 65
68 attached: function() { 66 attached: function() {
69 this.update(); 67 this.update();
70 }, 68 },
71 69
72 update: function() { 70 update: function() {
73 // FIXME: These shouldn't update if there's already an update in progres s. 71 // FIXME: These shouldn't update if there's already an update in progres s.
74 Object.keys(this.treeStatuses, function(tree, status) { 72 Object.keys(this.treeStatuses, function(tree, status) {
75 status.update(); 73 status.update();
76 }); 74 });
77 }, 75 },
78 }); 76 });
79 })(); 77 })();
80 </script> 78 </script>
81 </polymer-element> 79 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-failure-stream.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698