Chromium Code Reviews| Index: Tools/GardeningServer/ui/ct-unexpected-failures.html |
| diff --git a/Tools/GardeningServer/ui/ct-unexpected-failures.html b/Tools/GardeningServer/ui/ct-unexpected-failures.html |
| index 70c38bb9c241f74076680c2e0578117080e2e76b..bc790eb35c198db43190fe1cb4164cbbfe5eddb1 100644 |
| --- a/Tools/GardeningServer/ui/ct-unexpected-failures.html |
| +++ b/Tools/GardeningServer/ui/ct-unexpected-failures.html |
| @@ -6,6 +6,7 @@ found in the LICENSE file. |
| <link rel="import" href="../bower_components/paper-button/paper-button.html"> |
| <link rel="import" href="../bower_components/paper-toast/paper-toast.html"> |
| +<link rel="import" href="../model/ct-commit-log.html"> |
| <link rel="import" href="ct-failing-builders.html"> |
| <link rel="import" href="ct-failure-analyzer.html"> |
| <link rel="import" href="ct-failure-grouper.html"> |
| @@ -24,22 +25,26 @@ found in the LICENSE file. |
| margin: 5px; |
| } |
| </style> |
| - <ct-failure-analyzer id="analyzer" status="{{ analyzerStatus }}" failures="{{ failures }}"></ct-failure-analyzer> |
| + <ct-failure-analyzer id="analyzer" status="{{ analyzerStatus }}" failures="{{ failures }}" builderLatestRevisions="{{ builderLatestRevisions }}"></ct-failure-analyzer> |
| <ct-failure-grouper failures="{{ failures.unexpected }}" groups="{{ failureGroups }}"></ct-failure-grouper> |
| <ct-tree-status project="chromium"></ct-tree-status> |
| <ct-tree-status project="blink"></ct-tree-status> |
| <ct-failing-builders builders="{{ failures.builders }}"></ct-failing-builders> |
| - <ct-failure-stream groups="{{ failureGroups }}"></ct-failure-stream> |
| + <ct-failure-stream groups="{{ failureGroups }}" builderLatestRevisions="{{ builderLatestRevisions }}" commits="{{revisionLog.commits}}"></ct-failure-stream> |
|
michaelpg
2014/07/21 07:28:48
{{ revisionLog.commits }}
ojan
2014/07/21 19:58:04
Done.
|
| <paper-toast id="toast" text="{{ analyzerStatus }}"></paper-toast> |
| </template> |
| <script> |
| Polymer({ |
| + revisionLog: new CTCommitLog(), |
| + |
| attached: function() { |
| this.update(); |
| setInterval(this.update.bind(this), config.kTreeStatusUpdateFrequency); |
| }, |
| update: function() { |
| + // FIXME: These shouldn't update if there's already an update in progress. |
| + this.revisionLog.update(); |
| this.$.analyzer.update(); |
| var treeStatuses = this.shadowRoot.querySelectorAll("ct-tree-status"); |
| for (var i = 0; i < treeStatuses.length; i++) |