From 2d61d5e94ed71a375a027073cd6c3415832514ad Mon Sep 17 00:00:00 2001 From: Elena Baidakova Date: Mon, 14 Nov 2022 16:50:19 +0400 Subject: [PATCH] Added suppression list feature flag (#15821) closes TryGhost/Team#2247 --- ghost/admin/app/services/feature.js | 1 + ghost/admin/app/templates/settings/labs.hbs | 13 +++++++++++++ ghost/core/core/shared/labs.js | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index cc2538a6ab..9df1327a41 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -67,6 +67,7 @@ export default class FeatureService extends Service { @feature('lexicalEditor') lexicalEditor; @feature('audienceFeedback') audienceFeedback; @feature('fixNewsletterLinks') fixNewsletterLinks; + @feature('suppressionList') suppressionList; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 07a83bd2f1..08a376abd6 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -232,6 +232,19 @@ +
+
+
+

Suppression List

+

+ Allows checking whether a member's email is blocked and removing emails from the suppression list. +

+
+
+ +
+
+
{{/if}} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index feefe2cd08..7912663c17 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -35,7 +35,8 @@ const BETA_FEATURES = [ const ALPHA_FEATURES = [ 'urlCache', 'beforeAfterCard', - 'lexicalEditor' + 'lexicalEditor', + 'suppressionList' ]; module.exports.GA_KEYS = [...GA_FEATURES];