Chromium Code Reviews| OLD | NEW |
|---|---|
| 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="../bower_components/paper-button/paper-button.html"> | 7 <link rel="import" href="../bower_components/paper-button/paper-button.html"> |
| 8 <link rel="import" href="../model/ct-commit-log.html"> | 8 <link rel="import" href="../model/ct-commit-log.html"> |
| 9 <link rel="import" href="../model/tree-status.html"> | 9 <link rel="import" href="../model/tree-status.html"> |
| 10 <link rel="import" href="ct-failure-analyzer.html"> | 10 <link rel="import" href="ct-failure-analyzer.html"> |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 ct-tree-status[state=open] { | 27 ct-tree-status[state=open] { |
| 28 margin: 0; | 28 margin: 0; |
| 29 padding: 0; | 29 padding: 0; |
| 30 } | 30 } |
| 31 </style> | 31 </style> |
| 32 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe visions="{{ builderLatestRevisions }}"></ct-failure-analyzer> | 32 <ct-failure-analyzer id="analyzer" failures="{{ failures }}" builderLatestRe visions="{{ builderLatestRevisions }}"></ct-failure-analyzer> |
| 33 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status> | 33 <ct-tree-status status="{{ treeStatuses['chromium'] }}" state="{{ treeStatus es['chromium'].status }}"></ct-tree-status> |
| 34 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status> | 34 <ct-tree-status status="{{ treeStatuses['blink'] }}" state="{{ treeStatuses[ 'blink'].status }}"></ct-tree-status> |
| 35 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ builder LatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-revis ion-details> | 35 <ct-revision-details id="revisionDetails" builderLatestRevisions="{{ builder LatestRevisions }}" revisionLog="{{ revisionLog }}" tree="{{ tree }}"></ct-revis ion-details> |
| 36 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> | 36 <ct-party-time failures="{{ failures }}" tree="{{ tree }}"></ct-party-time> |
| 37 <ct-failure-stream groups="{{ failures[tree] }}" commits="{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> | 37 <ct-failure-stream category="default" groups="{{ failures[tree] }}" commits= "{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> |
| 38 <ct-failure-stream category="snoozed" groups="{{ failures[tree] }}" commits= "{{ revisionLog }}" tree="{{ tree }}"></ct-failure-stream> | |
|
ojan
2014/08/11 03:43:35
I was picturing that we'd change the model (as cre
dstockwell
2014/08/14 23:20:33
This would seem to complicate the model somewhat,
| |
| 38 </template> | 39 </template> |
| 39 <script> | 40 <script> |
| 40 (function() { | 41 (function() { |
| 41 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4 01358. | 42 // FIXME: Make the update frequency 30 seconds again once we fix crbug.com/4 01358. |
| 42 var kUpdateFrequency = 1000 * 30 * 10; | 43 var kUpdateFrequency = 1000 * 30 * 10; |
| 43 | 44 |
| 44 Polymer({ | 45 Polymer({ |
| 45 revisionLog: new CTCommitLog(), | 46 revisionLog: new CTCommitLog(), |
| 46 tree: '', | 47 tree: '', |
| 47 | 48 |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 64 this.revisionLog.update(); | 65 this.revisionLog.update(); |
| 65 this.$.analyzer.update(); | 66 this.$.analyzer.update(); |
| 66 Object.keys(this.treeStatuses, function(tree, status) { | 67 Object.keys(this.treeStatuses, function(tree, status) { |
| 67 status.update(); | 68 status.update(); |
| 68 }); | 69 }); |
| 69 }, | 70 }, |
| 70 }); | 71 }); |
| 71 })(); | 72 })(); |
| 72 </script> | 73 </script> |
| 73 </polymer-element> | 74 </polymer-element> |
| OLD | NEW |