mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
Added milestone emails alpha flag
refs https://www.notion.so/ghost/Marketing-Milestone-email-campaigns-1d2c9dee3cfa4029863edb16092ad5c4 - Added an alpha feature flag toggle for milestone emails
This commit is contained in:
parent
5b3a16213b
commit
b8fe582378
@ -71,6 +71,7 @@ export default class FeatureService extends Service {
|
||||
@feature('outboundLinkTagging') outboundLinkTagging;
|
||||
@feature('webmentionEmail') webmentionEmail;
|
||||
@feature('emailErrors') emailErrors;
|
||||
@feature('milestoneEmails') milestoneEmails;
|
||||
|
||||
_user = null;
|
||||
|
||||
|
@ -265,6 +265,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="gh-expandable-block">
|
||||
<div class="gh-expandable-header">
|
||||
<div>
|
||||
<h4 class="gh-expandable-title">Milestone emails</h4>
|
||||
<p class="gh-expandable-description">
|
||||
Send emails for reaching specific milestones.
|
||||
</p>
|
||||
</div>
|
||||
<div class="for-switch">
|
||||
<GhFeatureFlag @flag="milestoneEmails" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -36,7 +36,8 @@ const ALPHA_FEATURES = [
|
||||
'lexicalEditor',
|
||||
'webmentions',
|
||||
'webmentionEmail',
|
||||
'outboundLinkTagging'
|
||||
'outboundLinkTagging',
|
||||
'milestoneEmails'
|
||||
];
|
||||
|
||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||
|
Loading…
Reference in New Issue
Block a user