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

Unified Diff: Tools/GardeningServer/ui/ct-failure-stream.html

Issue 455263002: Sheriff-o-matic: Display snoozed failure groups in a separate stream (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix ct-failure-stream-tests 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-failure-stream-tests.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-failure-stream.html
diff --git a/Tools/GardeningServer/ui/ct-failure-stream.html b/Tools/GardeningServer/ui/ct-failure-stream.html
index 269915d915bf32ce5d18f6f8731f5ec4e9141dcc..b66760513995cf28edfb2c4d9be17d7d4506b8cb 100644
--- a/Tools/GardeningServer/ui/ct-failure-stream.html
+++ b/Tools/GardeningServer/ui/ct-failure-stream.html
@@ -6,7 +6,7 @@ found in the LICENSE file.
<link rel="import" href="ct-failure-card.html">
-<polymer-element name="ct-failure-stream" attributes="groups commits tree" noscript>
+<polymer-element name="ct-failure-stream" attributes="groups commits tree category" noscript>
<template>
<style>
:host {
@@ -19,8 +19,11 @@ found in the LICENSE file.
border-top: 1px solid lightgrey;
}
</style>
+ <!-- FIXME: Show a label based on the category when the filtered stream isn't empty -->
<template repeat="{{ group in groups }}">
- <ct-failure-card group="{{ group }}" commits="{{ commits }}" tree="{{ tree }}"></ct-failure-card>
+ <template if="{{ group.category == category }}">
+ <ct-failure-card group="{{ group }}" commits="{{ commits }}" tree="{{ tree }}"></ct-failure-card>
+ </template>
</template>
</template>
</polymer-element>
« no previous file with comments | « Tools/GardeningServer/test/unit-tests.html ('k') | Tools/GardeningServer/ui/ct-failure-stream-tests.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698