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

Side by Side Diff: appengine/trooper_o_matic/ui/tom-cq-graphs.html

Issue 845963005: trooper-o-matic: Add patch attempt timeline view to CQ graphs (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@+addAlternateBuildViews
Patch Set: Review changes Created 5 years, 11 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
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="../lib/sugar.html"> 7 <link rel="import" href="../lib/sugar.html">
8 <link rel="import" href="../model/cq-graph.html"> 8 <link rel="import" href="../model/cq-graph.html">
9 <link rel="import" href="../model/cqstats-graph-data.html"> 9 <link rel="import" href="../model/cqstats-graph-data.html">
10 <link rel="import" href="../model/cqstats-ratio-graph-data.html"> 10 <link rel="import" href="../model/cqstats-ratio-graph-data.html">
11 <link rel="import" href="../model/json-graph-data.html"> 11 <link rel="import" href="../model/json-graph-data.html">
12 <link rel="import" href="./tom-cq-graph.html"> 12 <link rel="import" href="./tom-cq-graph.html">
13 13
14 <polymer-element name="tom-cq-graphs" attributes="project"> 14 <polymer-element name="tom-cq-graphs" attributes="project">
15 <template> 15 <template>
16 <h1>Commit Queue Status</h1> 16 <h1>Commit Queue Status</h1>
17 Click on graph points for detailed information.
17 <template repeat="{{ graph in graphList }}"> 18 <template repeat="{{ graph in graphList }}">
18 <tom-cq-graph graph="{{ graph }}"></tom-cq-graph> 19 <tom-cq-graph graph="{{ graph }}"></tom-cq-graph>
19 </template> 20 </template>
20 </template> 21 </template>
21 <script> 22 <script>
22 Polymer({ 23 Polymer({
23 ready: function() { 24 ready: function() {
24 this.graphList = [ 25 this.graphList = [
25 this._falseRejectGraph(), 26 this._falseRejectGraph(),
26 this._timeGraphs(), 27 this._timeGraphs(),
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 'percent', 'false rejects', data, alerts, itemAlertThreshold); 68 'percent', 'false rejects', data, alerts, itemAlertThreshold);
68 }, 69 },
69 _queueLengthGraph: function() { 70 _queueLengthGraph: function() {
70 var url = '/project/' + this.project + '/cq-length'; 71 var url = '/project/' + this.project + '/cq-length';
71 return new CQGraph('Commit Queue Length', 'count', '', 72 return new CQGraph('Commit Queue Length', 'count', '',
72 new JSONGraphData(url)); 73 new JSONGraphData(url));
73 }, 74 },
74 }); 75 });
75 </script> 76 </script>
76 </polymer-element> 77 </polymer-element>
OLDNEW
« no previous file with comments | « appengine/trooper_o_matic/ui/tom-cq-graph.html ('k') | appengine/trooper_o_matic/ui/tom-patch-summary.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698