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:
parent
3765453e60
commit
f9c152995c
@ -91,6 +91,7 @@ export type UiFlags = {
|
||||
flagOverviewRedesign?: boolean;
|
||||
consumptionModel?: boolean;
|
||||
edgeObservability?: boolean;
|
||||
adminNavUI?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -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 = {
|
||||
|
@ -58,6 +58,7 @@ process.nextTick(async () => {
|
||||
filterExistingFlagNames: true,
|
||||
teamsIntegrationChangeRequests: true,
|
||||
simplifyDisableFeature: true,
|
||||
adminNavUI: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user