From b0144a7f8f3983191153153c7c44cf421cc4b4c3 Mon Sep 17 00:00:00 2001 From: Aileen Nowak Date: Mon, 25 Jul 2022 21:24:14 +0100 Subject: [PATCH] Added `explore` alpha feature flag --- ghost/core/core/shared/labs.js | 3 ++- .../test/e2e-api/admin/__snapshots__/settings.test.js.snap | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ghost/core/core/shared/labs.js b/ghost/core/core/shared/labs.js index a7e9188357..5d502f34c7 100644 --- a/ghost/core/core/shared/labs.js +++ b/ghost/core/core/shared/labs.js @@ -26,7 +26,8 @@ const ALPHA_FEATURES = [ 'urlCache', 'beforeAfterCard', 'comments', - 'newsletterPaywall' + 'newsletterPaywall', + 'explore' ]; 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 82c45d6240..58c385298f 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 @@ -230,7 +230,7 @@ Object { }, Object { "key": "labs", - "value": "{\\"activitypub\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"comments\\":true,\\"newsletterPaywall\\":true,\\"members\\":true}", + "value": "{\\"activitypub\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"comments\\":true,\\"newsletterPaywall\\":true,\\"explore\\":true,\\"members\\":true}", }, Object { "key": "slack_url", @@ -280,7 +280,7 @@ exports[`Settings API Browse Can request all settings 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": "3406", + "content-length": "3423", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding",