From 88d487234683bce4e71f2926bba0910cedf324cf Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Tue, 11 Oct 2022 17:08:41 +0200 Subject: [PATCH] Added fix links in newsletter feature flag refs https://github.com/TryGhost/Team/issues/2063 --- ghost/admin/app/services/feature.js | 1 + ghost/admin/app/templates/settings/labs.hbs | 13 +++++++++++++ ghost/core/core/shared/labs.js | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ghost/admin/app/services/feature.js b/ghost/admin/app/services/feature.js index 7c1a2be31d..af84c9cf33 100644 --- a/ghost/admin/app/services/feature.js +++ b/ghost/admin/app/services/feature.js @@ -67,6 +67,7 @@ export default class FeatureService extends Service { @feature('lexicalEditor') lexicalEditor; @feature('exploreApp') exploreApp; @feature('audienceFeedback') audienceFeedback; + @feature('fixNewsletterLinks') fixNewsletterLinks; _user = null; diff --git a/ghost/admin/app/templates/settings/labs.hbs b/ghost/admin/app/templates/settings/labs.hbs index 248803e1ab..5264fadb52 100644 --- a/ghost/admin/app/templates/settings/labs.hbs +++ b/ghost/admin/app/templates/settings/labs.hbs @@ -284,6 +284,19 @@ +
+
+
+

Fix newsletter links

+

+ Allow publishers to edit newsletter links after sending. +

+
+
+ +
+
+
{{/if}} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 0883cdfb73..fbba65d3a5 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -35,7 +35,8 @@ const ALPHA_FEATURES = [ 'sourceAttribution', 'lexicalEditor', 'exploreApp', - 'audienceFeedback' + 'audienceFeedback', + 'fixNewsletterLinks' ]; module.exports.GA_KEYS = [...GA_FEATURES];