From 32d0d2b293ecba1bb1943a4efe9e8405cc0a977e Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Thu, 16 Nov 2023 18:53:49 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Added=20filter=20to=20filter=20memb?= =?UTF-8?q?ers=20by=20email=20disabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes GRO-23 Co-authored-by: Djordje Vlaisavljevic Co-authored-by: Sag --- ghost/core/core/shared/labs.js | 6 +++--- .../test/e2e-api/admin/__snapshots__/settings.test.js.snap | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index 1d6dcff362..20934d7ff2 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -22,7 +22,8 @@ const GA_FEATURES = [ 'signupForm', 'recommendations', 'editorEmojiPicker', - 'listUnsubscribeHeader' + 'listUnsubscribeHeader', + 'filterEmailDisabled' ]; // NOTE: this allowlist is meant to be used to filter out any unexpected @@ -45,8 +46,7 @@ const ALPHA_FEATURES = [ 'importMemberTier', 'lexicalIndicators', 'editorEmojiPicker', - 'adminXOffers', - 'filterEmailDisabled' + 'adminXOffers' ]; module.exports.GA_KEYS = [...GA_FEATURES]; 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 ee1dd5e4da..6a4a6ffbdc 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 @@ -758,7 +758,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": "4338", + "content-length": "4367", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/,