From fac5c1b3e98f199b49b1d125f89e9e5fbdad62d4 Mon Sep 17 00:00:00 2001 From: EpocDotFr Date: Thu, 2 Jul 2020 18:56:04 +0200 Subject: [PATCH 1/6] Add comment --- js/content.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/content.js b/js/content.js index c0515aa..c8f632c 100644 --- a/js/content.js +++ b/js/content.js @@ -580,6 +580,9 @@ }).trim(); } + /** + * Add the menu allowing to hide Merge Requests by pipeline statuses. + */ addHideMrsByPipelineStatusMenu() { let menu = '
' + '
diff --git a/js/content.js b/js/content.js index 5a74dad..c8f632c 100644 --- a/js/content.js +++ b/js/content.js @@ -189,7 +189,7 @@ * Determines if the project do uses the Gitlab "pipeline" feature. */ isPipelineFeatureEnabled() { - return false;// document.querySelector('.nav-sidebar .shortcuts-pipelines') ? true : false; + return document.querySelector('.nav-sidebar .shortcuts-pipelines') ? true : false; } /** From 9719ce7939c2c395602536163183ec671d65219a Mon Sep 17 00:00:00 2001 From: EpocDotFr Date: Thu, 10 Sep 2020 20:19:51 +0200 Subject: [PATCH 4/6] Revert --- js/content.js | 3 --- js/options.js | 12 ++++++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/js/content.js b/js/content.js index c8f632c..c0515aa 100644 --- a/js/content.js +++ b/js/content.js @@ -580,9 +580,6 @@ }).trim(); } - /** - * Add the menu allowing to hide Merge Requests by pipeline statuses. - */ addHideMrsByPipelineStatusMenu() { let menu = '
' + '