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;
|
impactMetrics?: boolean;
|
||||||
lifecycleGraphs?: boolean;
|
lifecycleGraphs?: boolean;
|
||||||
newStrategyModal?: boolean;
|
newStrategyModal?: boolean;
|
||||||
|
globalChangeRequestList?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -58,7 +58,8 @@ export type IFlagKey =
|
|||||||
| 'etagByEnv'
|
| 'etagByEnv'
|
||||||
| 'fetchMode'
|
| 'fetchMode'
|
||||||
| 'optimizeLifecycle'
|
| 'optimizeLifecycle'
|
||||||
| 'newStrategyModal';
|
| 'newStrategyModal'
|
||||||
|
| 'globalChangeRequestList';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -268,6 +269,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_NEW_STRATEGY_MODAL,
|
process.env.UNLEASH_EXPERIMENTAL_NEW_STRATEGY_MODAL,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
globalChangeRequestList: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_GLOBAL_CHANGE_REQUEST_LIST,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -54,6 +54,7 @@ process.nextTick(async () => {
|
|||||||
impactMetrics: true,
|
impactMetrics: true,
|
||||||
lifecycleGraphs: true,
|
lifecycleGraphs: true,
|
||||||
newStrategyModal: true,
|
newStrategyModal: true,
|
||||||
|
globalChangeRequestList: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user