1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

chore: add flagOverviewRedesign flag (#8653)

https://linear.app/unleash/issue/2-2916/create-a-new-flag-for-the-new-feature-flag-overview-page-redesign

Adds the `flagOverviewRedesign` feature flag, allowing us to toggle the
new feature flag overview page redesign.
This commit is contained in:
Nuno Góis 2024-11-05 15:53:15 +00:00 committed by GitHub
parent b00d449c72
commit 16e136e42c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -94,6 +94,7 @@ export type UiFlags = {
'enterprise-payg'?: boolean;
simplifyProjectOverview?: boolean;
productivityReportEmail?: boolean;
flagOverviewRedesign?: boolean;
};
export interface IVersionInfo {

View File

@ -60,7 +60,8 @@ export type IFlagKey =
| 'releasePlans'
| 'productivityReportEmail'
| 'enterprise-payg'
| 'simplifyProjectOverview';
| 'simplifyProjectOverview'
| 'flagOverviewRedesign';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -301,6 +302,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_SIMPLIFY_PROJECT_OVERVIEW,
false,
),
flagOverviewRedesign: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_FLAG_OVERVIEW_REDESIGN,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -57,6 +57,7 @@ process.nextTick(async () => {
webhookDomainLogging: true,
releasePlans: false,
simplifyProjectOverview: true,
flagOverviewRedesign: true,
},
},
authentication: {