<div dir="ltr">Hi Rado,<div><br></div><div>Thanks for this cool userscript!</div><div><br></div><div>It works great, and the only problem I found is TamperMonkey has some issue with hash in @include pattern matching[1].  So I end up using <a href="https://review.openstack.org/*">https://review.openstack.org/*</a> instead of <a href="https://review.openstack.org/#/c/*">https://review.openstack.org/#/c/*</a></div>

<div><br></div><div>[1] <a href="http://tampermonkey.net/documentation.php#@include">http://tampermonkey.net/documentation.php#@include</a><br><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Thanks,</div>

--<br>QY</div></div>
<br><br><div class="gmail_quote">On Sun, May 25, 2014 at 8:23 PM, Radoslav Gerganov <span dir="ltr"><<a href="mailto:rgerganov@vmware.com" target="_blank">rgerganov@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi,<br>
<br>
I created a small userscript that allows you to hide CI comments in Gerrit. That way you can read only comments written by humans and hide everything else. I’ve been struggling for a long time to follow discussions on changes with many patch sets because of the CI noise. So I came up with this userscript:<br>


<br>
<a href="https://gist.github.com/rgerganov/35382752557cb975354a" target="_blank">https://gist.github.com/rgerganov/35382752557cb975354a</a><br>
<br>
It adds “Toggle CI” button at the bottom of the page that hides/shows CI comments. Right now it is configured for Nova CIs, as I contribute mostly there, but you can easily make it work for other projects as well. It supports both the “old” and “new” screens that we have.<br>


<br>
How to install on Chrome: open chrome://extensions and drag&drop the script there<br>
How to install on Firefox: install Greasemonkey first and then open the script<br>
<br>
Known issues:<br>
 - you may need to reload the page to get the new button<br>
 - I tried to add the button somewhere close to the collapse/expand links but it didn’t work for some reason<br>
<br>
Hope you will find it useful. Any feedback is welcome :)<br>
<br>
Thanks,<br>
Rado<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Thanks,</div>--<br>Qiu Yu</div></div>
<br><br><div class="gmail_quote">On Sun, May 25, 2014 at 8:23 PM, Radoslav Gerganov <span dir="ltr"><<a href="mailto:rgerganov@vmware.com" target="_blank">rgerganov@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
I created a small userscript that allows you to hide CI comments in Gerrit. That way you can read only comments written by humans and hide everything else. I’ve been struggling for a long time to follow discussions on changes with many patch sets because of the CI noise. So I came up with this userscript:<br>


<br>
<a href="https://gist.github.com/rgerganov/35382752557cb975354a" target="_blank">https://gist.github.com/rgerganov/35382752557cb975354a</a><br>
<br>
It adds “Toggle CI” button at the bottom of the page that hides/shows CI comments. Right now it is configured for Nova CIs, as I contribute mostly there, but you can easily make it work for other projects as well. It supports both the “old” and “new” screens that we have.<br>


<br>
How to install on Chrome: open chrome://extensions and drag&drop the script there<br>
How to install on Firefox: install Greasemonkey first and then open the script<br>
<br>
Known issues:<br>
 - you may need to reload the page to get the new button<br>
 - I tried to add the button somewhere close to the collapse/expand links but it didn’t work for some reason<br>
<br>
Hope you will find it useful. Any feedback is welcome :)<br>
<br>
Thanks,<br>
Rado<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>