From 4a94b5efc94e656aa5738c7755ef6c78ab71cb8f Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Wed, 5 Jun 2024 19:31:11 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20newsletter=20design=20setti?= =?UTF-8?q?ng=20to=20display=20excerpt=20as=20subtitle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit no issue Full details coming soon to https://ghost.org/changelog/ - when enabled in newsletter design settings a post's custom excerpt will be displayed as a subtitle in the email --- ghost/core/core/shared/labs.js | 4 ++-- .../test/e2e-api/admin/__snapshots__/settings.test.js.snap | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 657b53eff3..c008fce7bc 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -25,7 +25,8 @@ const GA_FEATURES = [ 'filterEmailDisabled', 'newEmailAddresses', 'portalImprovements', - 'onboardingChecklist' + 'onboardingChecklist', + 'newsletterExcerpt' ]; // NOTE: this allowlist is meant to be used to filter out any unexpected @@ -53,7 +54,6 @@ const ALPHA_FEATURES = [ 'lexicalIndicators', 'adminXDemo', 'editorExcerpt', - 'newsletterExcerpt', 'internalLinkingAtLinks' ]; diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/settings.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/settings.test.js.snap index 100d946b57..f5843f2a78 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/settings.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/settings.test.js.snap @@ -1155,7 +1155,7 @@ exports[`Settings API Edit Can edit a setting 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4591", + "content-length": "4618", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,