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

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

Issue 453543002: Add last update time to Sheriff-O-Matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 4 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/paper-button/paper-button.html"> 7 <link rel="import" href="../bower_components/paper-button/paper-button.html">
8 <link rel="import" href="../model/ct-commit-log.html"> 8 <link rel="import" href="../model/ct-commit-log.html">
9 <link rel="import" href="../model/tree-status.html"> 9 <link rel="import" href="../model/tree-status.html">
10 <link rel="import" href="ct-failure-analyzer.html"> 10 <link rel="import" href="ct-failure-analyzer.html">
11 <link rel="import" href="ct-failure-stream.html"> 11 <link rel="import" href="ct-failure-stream.html">
12 <link rel="import" href="ct-last-updated.html">
12 <link rel="import" href="ct-party-time.html"> 13 <link rel="import" href="ct-party-time.html">
13 <link rel="import" href="ct-revision-details.html"> 14 <link rel="import" href="ct-revision-details.html">
14 <link rel="import" href="ct-tree-status.html"> 15 <link rel="import" href="ct-tree-status.html">
15 16
16 <polymer-element name="ct-unexpected-failures" attributes="tree"> 17 <polymer-element name="ct-unexpected-failures" attributes="tree lastUpdateDate">
17 <template> 18 <template>
18 <style> 19 <style>
19 ct-tree-status { 20 ct-tree-status {
20 white-space: nowrap; 21 white-space: nowrap;
21 overflow: hidden; 22 overflow: hidden;
22 text-overflow: ellipsis; 23 text-overflow: ellipsis;
23 margin: 5px; 24 margin: 5px;
24 padding: 3px; 25 padding: 3px;
25 } 26 }
26 27
27 ct-tree-status[state=open] { 28 ct-tree-status[state=open] {
28 margin: 0; 29 margin: 0;
29 padding: 0; 30 padding: 0;
30 } 31 }
31 </style> 32 </style>
32 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe visions="{{ builderLatestRevisions }}"></ct-failure-analyzer> 33 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe visions="{{ builderLatestRevisions }}" lastUpdateDate="{{ lastUpdateDate }}"></c t-failure-analyzer>
33 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status> 34 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status>
34 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status> 35 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status>
35 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ builder LatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-revis ion-details> 36 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ builder LatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-revis ion-details>
36 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> 37 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time>
37 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> 38 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream>
38 </template> 39 </template>
39 <script> 40 <script>
40 (function() { 41 (function() {
41 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4 01358. 42 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4 01358.
42 var kUpdateFrequency = 1000 * 30 * 10; 43 var kUpdateFrequency = 1000 * 30 * 10;
(...skipping 21 matching lines...) Expand all
64 this.revisionLog.update(); 65 this.revisionLog.update();
65 this.$.analyzer.update(); 66 this.$.analyzer.update();
66 Object.keys(this.treeStatuses, function(tree, status) { 67 Object.keys(this.treeStatuses, function(tree, status) {
67 status.update(); 68 status.update();
68 }); 69 });
69 }, 70 },
70 }); 71 });
71 })(); 72 })();
72 </script> 73 </script>
73 </polymer-element> 74 </polymer-element>
OLDNEW
« no previous file with comments | « Tools/GardeningServer/ui/ct-sheriff-o-matic.html ('k') | Tools/GardeningServer/ui/test/ct-last-updated-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698