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

Unified Diff: Tools/GardeningServer/ui/ct-failure-analyzer.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-last-updated.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-failure-analyzer.html
diff --git a/Tools/GardeningServer/ui/ct-failure-analyzer.html b/Tools/GardeningServer/ui/ct-failure-analyzer.html
index 93d6980eb6659a7993c1c3781ba869c6cebc3269..3a0a3b11941ada22d62a7f061437893b236ac967 100644
--- a/Tools/GardeningServer/ui/ct-failure-analyzer.html
+++ b/Tools/GardeningServer/ui/ct-failure-analyzer.html
@@ -8,13 +8,14 @@ found in the LICENSE file.
<link rel="import" href="../model/ct-failure.html">
<link rel="import" href="../model/ct-failure-group.html">
-<polymer-element name="ct-failure-analyzer" attributes="failures builderLatestRevisions">
+<polymer-element name="ct-failure-analyzer" attributes="failures builderLatestRevisions lastUpdateDate">
<script>
// FIXME: Don't use a polymer component for this. Instead use a Failures model
// object that knows how to do the XHR and process the data appropriately.
Polymer({
builderLatestRevisions: null,
failures: null,
+ lastUpdateDate: null,
// FIXME: Get this from https://chromium.googlesource.com/chromium/tools/build/+/master/scripts/slave/gatekeeper_trees.json?format=text.
_trees: {
@@ -70,6 +71,7 @@ found in the LICENSE file.
// FIXME: Don't special-case the blink master.
this.builderLatestRevisions = new CTBuilderRevisions(data.latest_revisions['chromium.webkit']);
this.failures = {};
+ this.lastUpdateDate = new Date(data.date * 1000);
data.range_groups.forEach(function(group) {
this._processFailuresForGroup(group, data.alerts, annotations);
}.bind(this));
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-last-updated.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698