From ae455799039ae9ae4f21ce4fe4a46fdde3c60059 Mon Sep 17 00:00:00 2001 From: Matt Hanley Date: Wed, 11 May 2022 14:31:03 +0100 Subject: [PATCH] Promoted feature flags for v5 features to GA --- core/shared/labs.js | 10 +++++----- test/e2e-api/admin/__snapshots__/settings.test.js.snap | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/shared/labs.js b/core/shared/labs.js index 3fc3199558..002ab9ad5d 100644 --- a/core/shared/labs.js +++ b/core/shared/labs.js @@ -22,13 +22,15 @@ const GA_FEATURES = [ 'membersTableStatus', 'improvedOnboarding', 'multipleNewsletters', - 'membersActivityFeed' + 'multipleNewslettersUI', + 'membersActivityFeed', + 'publishingFlow', + 'dashboardV5' ]; // NOTE: this allowlist is meant to be used to filter out any unexpected // input for the "labs" setting value const BETA_FEATURES = [ - 'multipleNewslettersUI', 'activitypub' ]; @@ -36,9 +38,7 @@ const ALPHA_FEATURES = [ 'oauthLogin', 'urlCache', 'beforeAfterCard', - 'tweetGridCard', - 'dashboardV5', - 'publishingFlow' + 'tweetGridCard' ]; module.exports.GA_KEYS = [...GA_FEATURES]; diff --git a/test/e2e-api/admin/__snapshots__/settings.test.js.snap b/test/e2e-api/admin/__snapshots__/settings.test.js.snap index f06549676d..cd03c61415 100644 --- a/test/e2e-api/admin/__snapshots__/settings.test.js.snap +++ b/test/e2e-api/admin/__snapshots__/settings.test.js.snap @@ -152,7 +152,7 @@ Object { "key": "labs", "type": "object", "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "value": "{\\"multipleProducts\\":true,\\"tierWelcomePages\\":true,\\"tierName\\":true,\\"selectablePortalLinks\\":true,\\"membersTableStatus\\":true,\\"improvedOnboarding\\":true,\\"multipleNewsletters\\":true,\\"membersActivityFeed\\":true,\\"members\\":true}", + "value": "{\\"multipleProducts\\":true,\\"tierWelcomePages\\":true,\\"tierName\\":true,\\"selectablePortalLinks\\":true,\\"membersTableStatus\\":true,\\"improvedOnboarding\\":true,\\"multipleNewsletters\\":true,\\"multipleNewslettersUI\\":true,\\"membersActivityFeed\\":true,\\"publishingFlow\\":true,\\"dashboardV5\\":true,\\"members\\":true}", }, Object { "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, @@ -192,7 +192,7 @@ exports[`Settings API 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": "4008", + "content-length": "4084", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding", @@ -873,7 +873,7 @@ Object { "key": "labs", "type": "object", "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "value": "{\\"multipleNewslettersUI\\":true,\\"activitypub\\":true,\\"oauthLogin\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"tweetGridCard\\":true,\\"dashboardV5\\":true,\\"publishingFlow\\":true,\\"multipleProducts\\":true,\\"tierWelcomePages\\":true,\\"tierName\\":true,\\"selectablePortalLinks\\":true,\\"membersTableStatus\\":true,\\"improvedOnboarding\\":true,\\"multipleNewsletters\\":true,\\"membersActivityFeed\\":true,\\"members\\":true}", + "value": "{\\"activitypub\\":true,\\"oauthLogin\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"tweetGridCard\\":true,\\"multipleProducts\\":true,\\"tierWelcomePages\\":true,\\"tierName\\":true,\\"selectablePortalLinks\\":true,\\"membersTableStatus\\":true,\\"improvedOnboarding\\":true,\\"multipleNewsletters\\":true,\\"multipleNewslettersUI\\":true,\\"membersActivityFeed\\":true,\\"publishingFlow\\":true,\\"dashboardV5\\":true,\\"members\\":true}", }, Object { "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/,