From 63d15119c3ea2e49532500a2827cb436a3a69e93 Mon Sep 17 00:00:00 2001 From: Radoslav Gerganov Date: Tue, 27 May 2014 15:07:38 +0300 Subject: [PATCH] Add button that shows/hides CI comments in Gerrit There are many CIs which automatically post comments in Gerrit and there is no way to filter those out from the normal comments posted by reviewers. This patch adds a new "Toggle CI" button to the Gerrit interface which shows/hides CI comments. The button is displayed only on review pages and is hidden everywhere else. Change-Id: I6ffca12d6314c63c0f1ab97d2c98a84a6ac790c9 Closes-Bug: 1282019 --- .../files/gerrit/GerritSiteHeader.html | 2 + .../openstack_project/files/gerrit/hideci.js | 49 +++++++++++++++++++ modules/openstack_project/manifests/gerrit.pp | 17 +++++++ 3 files changed, 68 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/hideci.js diff --git a/modules/openstack_project/files/gerrit/GerritSiteHeader.html b/modules/openstack_project/files/gerrit/GerritSiteHeader.html index 21ceb84f59..535594079e 100644 --- a/modules/openstack_project/files/gerrit/GerritSiteHeader.html +++ b/modules/openstack_project/files/gerrit/GerritSiteHeader.html @@ -1,3 +1,5 @@
+