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

Side by Side Diff: appengine/trooper_o_matic/model/cqstats-ratio-graph-data.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/log.html"> 7 <link rel="import" href="../lib/log.html">
8 <link rel="import" href="../lib/net.html"> 8 <link rel="import" href="../lib/net.html">
9 <link rel="import" href="../lib/cqstats-util.html"> 9 <link rel="import" href="../lib/cqstats-util.html">
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 return this._formattedDataPromise; 44 return this._formattedDataPromise;
45 }; 45 };
46 46
47 CQStatsRatioGraphData.prototype.rowItems = function(index) { 47 CQStatsRatioGraphData.prototype.rowItems = function(index) {
48 var name = this._numeratorName; 48 var name = this._numeratorName;
49 return this._cqStatsListPromise.then(function(cqStatsList) { 49 return this._cqStatsListPromise.then(function(cqStatsList) {
50 var cqStats = cqStatsList[index]; 50 var cqStats = cqStatsList[index];
51 return cqStatsUtil.loadStatItems(name, cqStats.key).then(function(items) { 51 return cqStatsUtil.loadStatItems(name, cqStats.key).then(function(items) {
52 return { 52 return {
53 items: items, 53 items: items,
54 begin: new Date(cqStats.begin * 1000), 54 begin: cqStats.begin,
55 end: new Date(cqStats.end * 1000), 55 end: cqStats.end,
56 }; 56 };
57 }); 57 });
58 }) 58 })
59 }; 59 };
60 </script> 60 </script>
OLDNEW
« no previous file with comments | « appengine/trooper_o_matic/model/cqstats-graph-data.html ('k') | appengine/trooper_o_matic/model/patch-summary.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698