From c8bce08e948844a109275b6cbd9d84c1aecb3034 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Fri, 28 Apr 2023 12:25:59 +0200 Subject: [PATCH] feat: remove project overview flag (#3648) --- frontend/src/interfaces/uiConfig.ts | 1 - src/lib/__snapshots__/create-config.test.ts.snap | 2 -- src/lib/types/experimental.ts | 4 ---- src/server-dev.ts | 1 - 4 files changed, 8 deletions(-) diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index c94a63ccb8..9c4a27014f 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -40,7 +40,6 @@ export interface IFlags { maintenanceMode?: boolean; messageBanner?: boolean; featuresExportImport?: boolean; - newProjectOverview?: boolean; caseInsensitiveInOperators?: boolean; crOnVariants?: boolean; proPlanAutoCharge?: boolean; diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index f5a607d20e..a35791f59a 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -79,7 +79,6 @@ exports[`should create default config 1`] = ` "maintenanceMode": false, "messageBanner": false, "migrationLock": false, - "newProjectOverview": false, "optimal304": false, "optimal304Differ": false, "personalAccessTokensKillSwitch": false, @@ -105,7 +104,6 @@ exports[`should create default config 1`] = ` "maintenanceMode": false, "messageBanner": false, "migrationLock": false, - "newProjectOverview": false, "optimal304": false, "optimal304Differ": false, "personalAccessTokensKillSwitch": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 61724b233a..3ae84ab5f8 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -9,10 +9,6 @@ const flags = { process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY, true, ), - newProjectOverview: parseEnvVarBoolean( - process.env.NEW_PROJECT_OVERVIEW, - false, - ), embedProxyFrontend: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_EMBED_PROXY_FRONTEND, true, diff --git a/src/server-dev.ts b/src/server-dev.ts index f2d0ba5c1e..1a675ed291 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -38,7 +38,6 @@ process.nextTick(async () => { embedProxyFrontend: true, anonymiseEventLog: false, responseTimeWithAppNameKillSwitch: false, - newProjectOverview: true, optimal304: true, optimal304Differ: false, },