From 63d912b2d8fcf1e75aacf1560d068b415cec8068 Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Wed, 12 Jun 2024 16:55:47 +0700 Subject: [PATCH] Added content visibility feature flag (#20371) ref MOM-221 - added new feature flag for content visibility. --- .../src/components/settings/advanced/labs/AlphaFeatures.tsx | 4 ++++ ghost/core/core/shared/labs.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx index a3cc42f981..cb68ffec8b 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/labs/AlphaFeatures.tsx @@ -75,6 +75,10 @@ const features = [{ title: 'Excerpt in newsletter', description: 'Showing excerpt in newsletter', flag: 'newsletterExcerpt' +}, { + title: 'Content Visibility', + description: 'Enables content visibility in Emails', + flag: 'contentVisibility' }]; const AlphaFeatures: React.FC = () => { diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 6cc406e0a7..924d56f5ff 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -55,7 +55,8 @@ const ALPHA_FEATURES = [ 'lexicalIndicators', 'adminXDemo', 'internalLinkingAtLinks', - 'internalLinkingSearchImprovements' + 'internalLinkingSearchImprovements', + 'contentVisibility' ]; module.exports.GA_KEYS = [...GA_FEATURES];