diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 6d40b5bf4e..ff4b182832 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -89,6 +89,7 @@ export type UiFlags = { newStrategyModal?: boolean; globalChangeRequestList?: boolean; flagsUiFilterRefactor?: boolean; + milestoneProgression?: boolean; }; export interface IVersionInfo { diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index d0d3513281..4cf99a1433 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -60,7 +60,8 @@ export type IFlagKey = | 'newStrategyModal' | 'globalChangeRequestList' | 'newUiConfigService' - | 'flagsUiFilterRefactor'; + | 'flagsUiFilterRefactor' + | 'milestoneProgression'; export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; @@ -277,6 +278,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_FLAGS_UI_FILTER_REFACTOR, false, ), + milestoneProgression: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_MILESTONE_PROGRESSION, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = { diff --git a/src/server-dev.ts b/src/server-dev.ts index 1e68b9b30c..b478388c2c 100644 --- a/src/server-dev.ts +++ b/src/server-dev.ts @@ -57,6 +57,7 @@ process.nextTick(async () => { globalChangeRequestList: true, newUiConfigService: true, flagsUiFilterRefactor: true, + milestoneProgression: true, }, }, authentication: {