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

Issue 448503003: Adds a snooze button to the sheriff-o-matic ui (Closed)

Created:
6 years, 4 months ago by dstockwell
Modified:
6 years, 4 months ago
Reviewers:
ojan, eseidel
CC:
abarth-chromium, blink-reviews, esprehn, leviw_travelin_and_unemployed, michaelpg, szager1
Project:
blink
Visibility:
Public.

Description

Adds a snooze button to the sheriff-o-matic ui The button is configured to snooze the item for 1 hour. The item is deprioritized in the UI by changing the opacity. Subsequent patches could separate snoozed items out into a separate collapsible stream. This patch adds the concept of annotations on a group of failures, persisting them in local storage. Subsequent patches should persist the annotations in a frontend. NOTRY=true BUG=399967 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179897

Patch Set 1 #

Total comments: 12

Patch Set 2 : Keep snoozed items in the same stream. #

Patch Set 3 : Persist annotations to local storage. #

Patch Set 4 : Test #

Patch Set 5 : Remove unused import. #

Total comments: 9

Patch Set 6 : Fix nits. #

Patch Set 7 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -22 lines) Patch
A Tools/GardeningServer/model/ct-failure-group.html View 1 2 3 4 5 1 chunk +63 lines, -0 lines 0 comments Download
A Tools/GardeningServer/model/test/ct-failure-group-tests.html View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
M Tools/GardeningServer/test/unit-tests.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-analyzer.html View 1 2 3 4 5 6 4 chunks +16 lines, -10 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-card.html View 1 2 2 chunks +27 lines, -9 lines 0 comments Download
M Tools/GardeningServer/ui/ct-failure-stream.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Tools/GardeningServer/ui/ct-sheriff-o-matic.html View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
dstockwell
Small patch. Wanted to make sure this is headed in the right direction and check ...
6 years, 4 months ago (2014-08-06 01:55:13 UTC) #1
ojan
Yay! Thanks for working on this. https://codereview.chromium.org/448503003/diff/1/Tools/GardeningServer/model/ct-failure-group.html File Tools/GardeningServer/model/ct-failure-group.html (right): https://codereview.chromium.org/448503003/diff/1/Tools/GardeningServer/model/ct-failure-group.html#newcode14 Tools/GardeningServer/model/ct-failure-group.html:14: Just one line ...
6 years, 4 months ago (2014-08-06 04:03:02 UTC) #2
ojan
Oh, and of course we'll need tests before we can land this. :)
6 years, 4 months ago (2014-08-06 04:05:59 UTC) #3
dstockwell
PTAL, applied most of your comments, but didn't separate out snoozed items into another stream ...
6 years, 4 months ago (2014-08-06 06:55:13 UTC) #4
ojan
lgtm https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/model/ct-failure-group.html File Tools/GardeningServer/model/ct-failure-group.html (right): https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/model/ct-failure-group.html#newcode36 Tools/GardeningServer/model/ct-failure-group.html:36: Object.keys(newAnnotation).forEach(function(key) { Nit: The sugarjs Object.keys takes a ...
6 years, 4 months ago (2014-08-07 00:09:58 UTC) #5
dstockwell
https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/model/ct-failure-group.html File Tools/GardeningServer/model/ct-failure-group.html (right): https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/model/ct-failure-group.html#newcode36 Tools/GardeningServer/model/ct-failure-group.html:36: Object.keys(newAnnotation).forEach(function(key) { On 2014/08/07 00:09:57, ojan-only-code-yellow-reviews wrote: > Nit: ...
6 years, 4 months ago (2014-08-11 01:20:43 UTC) #6
dstockwell
The CQ bit was checked by dstockwell@chromium.org
6 years, 4 months ago (2014-08-11 01:28:29 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dstockwell@chromium.org/448503003/120001
6 years, 4 months ago (2014-08-11 01:29:52 UTC) #8
commit-bot: I haz the power
Change committed as 179897
6 years, 4 months ago (2014-08-11 01:31:27 UTC) #9
ojan
https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/ui/ct-failure-analyzer.html File Tools/GardeningServer/ui/ct-failure-analyzer.html (right): https://codereview.chromium.org/448503003/diff/80001/Tools/GardeningServer/ui/ct-failure-analyzer.html#newcode37 Tools/GardeningServer/ui/ct-failure-analyzer.html:37: net.json('http://auto-sheriff.appspot.com/data').then(function(data) { On 2014/08/11 01:20:42, dstockwell wrote: > On ...
6 years, 4 months ago (2014-08-11 01:44:44 UTC) #10
jochen (gone - plz use gerrit)
6 years, 4 months ago (2014-08-11 11:25:13 UTC) #11
Message was sent while issue was closed.
this CL broke both ct-failure-stream.base and ct-failure-card.examine tests

Powered by Google App Engine
This is Rietveld 408576698