mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05: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
3 changed files with 16 additions and 1 deletions
|
@ -71,6 +71,7 @@ export default class FeatureService extends Service {
|
||||||
@feature('outboundLinkTagging') outboundLinkTagging;
|
@feature('outboundLinkTagging') outboundLinkTagging;
|
||||||
@feature('webmentionEmail') webmentionEmail;
|
@feature('webmentionEmail') webmentionEmail;
|
||||||
@feature('emailErrors') emailErrors;
|
@feature('emailErrors') emailErrors;
|
||||||
|
@feature('milestoneEmails') milestoneEmails;
|
||||||
|
|
||||||
_user = null;
|
_user = null;
|
||||||
|
|
||||||
|
|
|
@ -265,6 +265,19 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -36,7 +36,8 @@ const ALPHA_FEATURES = [
|
||||||
'lexicalEditor',
|
'lexicalEditor',
|
||||||
'webmentions',
|
'webmentions',
|
||||||
'webmentionEmail',
|
'webmentionEmail',
|
||||||
'outboundLinkTagging'
|
'outboundLinkTagging',
|
||||||
|
'milestoneEmails'
|
||||||
];
|
];
|
||||||
|
|
||||||
module.exports.GA_KEYS = [...GA_FEATURES];
|
module.exports.GA_KEYS = [...GA_FEATURES];
|
||||||
|
|
Loading…
Add table
Reference in a new issue