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

chore: new flag adminNavUI for admin UI 2.0 (#9537)

This commit is contained in:
David Leek 2025-03-14 09:30:30 +01:00 committed by GitHub
parent 3765453e60
commit f9c152995c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -91,6 +91,7 @@ export type UiFlags = {
flagOverviewRedesign?: boolean;
consumptionModel?: boolean;
edgeObservability?: boolean;
adminNavUI?: boolean;
};
export interface IVersionInfo {

View File

@ -64,7 +64,8 @@ export type IFlagKey =
| 'consumptionModel'
| 'teamsIntegrationChangeRequests'
| 'edgeObservability'
| 'simplifyDisableFeature';
| 'simplifyDisableFeature'
| 'adminNavUI';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -309,6 +310,10 @@ const flags: IFlags = {
process.env.EXPERIMENTAL_SIMPLIFY_DISABLE_FEATURE,
false,
),
adminNavUI: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_ADMIN_NAV_UI,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -58,6 +58,7 @@ process.nextTick(async () => {
filterExistingFlagNames: true,
teamsIntegrationChangeRequests: true,
simplifyDisableFeature: true,
adminNavUI: true,
},
},
authentication: {