Added mentions email notification alpha flag (#16164)

refs https://github.com/TryGhost/Team/issues/2429

- Added an alpha feature flag toggle for webmentions' email notifications
This commit is contained in:
Ronald Langeveld 2023-01-23 15:42:48 +08:00 committed by GitHub
parent e3b0152ae0
commit 95b6a9d569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -66,6 +66,7 @@ export default class FeatureService extends Service {
@feature('emailStability') emailStability; @feature('emailStability') emailStability;
@feature('webmentions') webmentions; @feature('webmentions') webmentions;
@feature('outboundLinkTagging') outboundLinkTagging; @feature('outboundLinkTagging') outboundLinkTagging;
@feature('webmentionEmail') webmentionEmail;
_user = null; _user = null;

View File

@ -226,6 +226,19 @@
</div> </div>
</div> </div>
</div> </div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Webmention Email Notifications</h4>
<p class="gh-expandable-description">
Receive email notifications when a webmention is received.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="webmentionEmail" />
</div>
</div>
</div>
<div class="gh-expandable-block"> <div class="gh-expandable-block">
<div class="gh-expandable-header"> <div class="gh-expandable-header">
<div> <div>

View File

@ -34,6 +34,7 @@ const ALPHA_FEATURES = [
'beforeAfterCard', 'beforeAfterCard',
'lexicalEditor', 'lexicalEditor',
'webmentions', 'webmentions',
'webmentionEmail',
'outboundLinkTagging' 'outboundLinkTagging'
]; ];