Added suppression list feature flag (#15821)

closes TryGhost/Team#2247
This commit is contained in:
Elena Baidakova 2022-11-14 16:50:19 +04:00 committed by GitHub
parent 17932759d3
commit 2d61d5e94e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

View File

@ -67,6 +67,7 @@ export default class FeatureService extends Service {
@feature('lexicalEditor') lexicalEditor;
@feature('audienceFeedback') audienceFeedback;
@feature('fixNewsletterLinks') fixNewsletterLinks;
@feature('suppressionList') suppressionList;
_user = null;

View File

@ -232,6 +232,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Suppression List</h4>
<p class="gh-expandable-description">
Allows checking whether a member's email is blocked and removing emails from the suppression list.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="suppressionList" />
</div>
</div>
</div>
</div>
</div>
{{/if}}

View File

@ -35,7 +35,8 @@ const BETA_FEATURES = [
const ALPHA_FEATURES = [
'urlCache',
'beforeAfterCard',
'lexicalEditor'
'lexicalEditor',
'suppressionList'
];
module.exports.GA_KEYS = [...GA_FEATURES];