From a7a1166310ca0b7d726577b63e82de6c267bfd45 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 5 Jun 2024 20:14:34 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20beta=20feature=20toggle=20f?= =?UTF-8?q?or=20moving=20excerpt=20field=20into=20editor=20(#20341)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes https://linear.app/tryghost/issue/MOM-179 Full details coming soon to https://ghost.org/changelog - Adds a toggle to labs setting that moves the excerpt input below the post title in the editor --- .../src/components/settings/advanced/labs/AlphaFeatures.tsx | 4 ---- .../src/components/settings/advanced/labs/BetaFeatures.tsx | 4 ++++ ghost/core/core/shared/labs.js | 4 ++-- 3 files changed, 6 insertions(+), 6 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 4950480925..41fbafc712 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 @@ -67,10 +67,6 @@ const features = [{ title: 'ActivityPub', description: '(Highly) Experimental support for ActivityPub.', flag: 'ActivityPub' -},{ - title: 'Show post excerpt inline', - description: 'Adds the excerpt input below the post title in the editor', - flag: 'editorExcerpt' },{ title: 'Excerpt in newsletter', description: 'Showing excerpt in newsletter', diff --git a/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx b/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx index 4014629f10..4cd92f2bd3 100644 --- a/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx +++ b/apps/admin-x-settings/src/components/settings/advanced/labs/BetaFeatures.tsx @@ -19,6 +19,10 @@ const BetaFeatures: React.FC = () => { action={} detail={<>Search and link to your own content directly inside the editor — so that your workflow is never interrupted} title='Internal linking' /> + } + detail={<>Adds the excerpt input below the post title in the editor} + title='Show post excerpt inline' /> } detail={<>Enable support for PayPal, iDEAL, WeChat Pay and others. Learn more →} diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index c008fce7bc..2d1a5446b4 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -37,7 +37,8 @@ const BETA_FEATURES = [ 'activitypub', 'internalLinking', 'stripeAutomaticTax', - 'webmentions' + 'webmentions', + 'editorExcerpt' ]; const ALPHA_FEATURES = [ @@ -53,7 +54,6 @@ const ALPHA_FEATURES = [ 'importMemberTier', 'lexicalIndicators', 'adminXDemo', - 'editorExcerpt', 'internalLinkingAtLinks' ];