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

Side by Side Diff: dashboard/dashboard/elements/group-report-page.html

Issue 2557743004: Adding in abs delta column to the alerts table (Closed)
Patch Set: adding in tests Created 4 years 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright 2016 The Chromium Authors. All rights reserved. 3 Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <script src="/jquery/jquery-2.1.4.min.js"></script> 8 <script src="/jquery/jquery-2.1.4.min.js"></script>
9 <script src="/flot/jquery.flot.min.js"></script> 9 <script src="/flot/jquery.flot.min.js"></script>
10 <script src="/flot/jquery.flot.crosshair.min.js"></script> 10 <script src="/flot/jquery.flot.crosshair.min.js"></script>
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 </div> 134 </div>
135 135
136 </template> 136 </template>
137 <script> 137 <script>
138 'use strict'; 138 'use strict';
139 Polymer({ 139 Polymer({
140 is: 'group-report-page', 140 is: 'group-report-page',
141 properties: { 141 properties: {
142 extraColumns: { 142 extraColumns: {
143 type: Array, 143 type: Array,
144 value: () => 144 value: () => ([
145 [{ 145 {
146 'key': 'percent_changed', 146 'key': 'percent_changed',
147 'label': 'Delta %' 147 'label': 'Delta %'
148 }] 148 },
149 {
150 'key': 'absolute_delta',
151 'label': 'Abs Delta'
152 },
153 {
154 'key': 'units',
155 'label': 'Units'
156 }
157 ])
149 }, 158 },
150 loading: { 159 loading: {
151 type: Boolean, 160 type: Boolean,
152 value: true 161 value: true
153 }, 162 },
154 163
155 alertList: { 164 alertList: {
156 type: Array, 165 type: Array,
157 value: () => [] 166 value: () => []
158 }, 167 },
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 this.error = msg; 457 this.error = msg;
449 this.loading = false; 458 this.loading = false;
450 }.bind(this)); 459 }.bind(this));
451 }, 460 },
452 computeOr: function(error, loading) { 461 computeOr: function(error, loading) {
453 return error | loading; 462 return error | loading;
454 } 463 }
455 }); 464 });
456 </script> 465 </script>
457 </dom-module> 466 </dom-module>
OLDNEW
« no previous file with comments | « dashboard/dashboard/elements/alerts-table-test.html ('k') | dashboard/dashboard/find_anomalies_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698