From 892b9ab397bfa8351e3fc053902d6df66aef3f6b Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Thu, 25 Apr 2024 15:44:02 +0200 Subject: [PATCH] Moved `internalLinking` and `stripeAutomaticTax` flags to private beta refs https://ghost.slack.com/archives/C02G9E68C/p1714051665654659?thread_ts=1713970812.191919&cid=C02G9E68C - this enables us to enable the flags on sites without the need to enable developer experiments - added `(private beta)` to the end of the relevant UI flags, because they're still in alpha in the UI despite being in beta in backend --- .../src/components/settings/advanced/labs/AlphaFeatures.tsx | 4 ++-- ghost/core/core/shared/labs.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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 c958bb2bf5..3c6c45764d 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 @@ -20,7 +20,7 @@ const features = [{ description: <>Test out Websockets functionality at /ghost/#/websockets., flag: 'websockets' },{ - title: 'Stripe Automatic Tax', + title: 'Stripe Automatic Tax (private beta)', description: 'Use Stripe Automatic Tax at Stripe Checkout. Needs to be enabled in Stripe', flag: 'stripeAutomaticTax' },{ @@ -64,7 +64,7 @@ const features = [{ description: 'Enables features to help combat spam member signups', flag: 'membersSpamPrevention' },{ - title: 'Internal Linking', + title: 'Internal Linking (private beta)', description: 'Adds internal URL search to editor link inputs', flag: 'internalLinking' },{ diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index f766e82ac6..c4d3ac58db 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -34,6 +34,8 @@ const BETA_FEATURES = [ 'additionalPaymentMethods', 'i18n', 'activitypub', + 'internalLinking', + 'stripeAutomaticTax', 'webmentions' ]; @@ -43,7 +45,6 @@ const ALPHA_FEATURES = [ 'urlCache', 'lexicalMultiplayer', 'websockets', - 'stripeAutomaticTax', 'emailCustomization', 'mailEvents', 'collectionsCard', @@ -52,8 +53,7 @@ const ALPHA_FEATURES = [ 'lexicalIndicators', // 'adminXOffers', 'adminXDemo', - 'membersSpamPrevention', - 'internalLinking' + 'membersSpamPrevention' ]; module.exports.GA_KEYS = [...GA_FEATURES];