Added fix links in newsletter feature flag

refs https://github.com/TryGhost/Team/issues/2063
This commit is contained in:
Djordje Vlaisavljevic 2022-10-11 17:08:41 +02:00
parent e11636b6f8
commit 88d4872346
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('exploreApp') exploreApp;
@feature('audienceFeedback') audienceFeedback;
@feature('fixNewsletterLinks') fixNewsletterLinks;
_user = null;

View File

@ -284,6 +284,19 @@
</div>
</div>
</div>
<div class="gh-expandable-block">
<div class="gh-expandable-header">
<div>
<h4 class="gh-expandable-title">Fix newsletter links</h4>
<p class="gh-expandable-description">
Allow publishers to edit newsletter links after sending.
</p>
</div>
<div class="for-switch">
<GhFeatureFlag @flag="fixNewsletterLinks" />
</div>
</div>
</div>
</div>
</div>
{{/if}}

View File

@ -35,7 +35,8 @@ const ALPHA_FEATURES = [
'sourceAttribution',
'lexicalEditor',
'exploreApp',
'audienceFeedback'
'audienceFeedback',
'fixNewsletterLinks'
];
module.exports.GA_KEYS = [...GA_FEATURES];