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:
parent
86530bcfbd
commit
0ea006f72c
@ -88,6 +88,7 @@ export type UiFlags = {
|
||||
impactMetrics?: boolean;
|
||||
lifecycleGraphs?: boolean;
|
||||
newStrategyModal?: boolean;
|
||||
globalChangeRequestList?: boolean;
|
||||
};
|
||||
|
||||
export interface IVersionInfo {
|
||||
|
@ -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 = {
|
||||
|
@ -54,6 +54,7 @@ process.nextTick(async () => {
|
||||
impactMetrics: true,
|
||||
lifecycleGraphs: true,
|
||||
newStrategyModal: true,
|
||||
globalChangeRequestList: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user