1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-19 17:52:45 +02:00

Add globalChangeRequestList flag to Unleash (#10645)

Add a flag for the new CR list feature.
This commit is contained in:
Thomas Heartman 2025-09-10 13:11:10 +02:00 committed by GitHub
parent 86530bcfbd
commit 0ea006f72c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -88,6 +88,7 @@ export type UiFlags = {
impactMetrics?: boolean;
lifecycleGraphs?: boolean;
newStrategyModal?: boolean;
globalChangeRequestList?: boolean;
};
export interface IVersionInfo {

View File

@ -58,7 +58,8 @@ export type IFlagKey =
| 'etagByEnv'
| 'fetchMode'
| 'optimizeLifecycle'
| 'newStrategyModal';
| 'newStrategyModal'
| 'globalChangeRequestList';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -268,6 +269,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_NEW_STRATEGY_MODAL,
false,
),
globalChangeRequestList: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_GLOBAL_CHANGE_REQUEST_LIST,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -54,6 +54,7 @@ process.nextTick(async () => {
impactMetrics: true,
lifecycleGraphs: true,
newStrategyModal: true,
globalChangeRequestList: true,
},
},
authentication: {