mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
chore: cleanup reminder flag (#9769)
This commit is contained in:
parent
187f265680
commit
695c50b7d6
@ -97,6 +97,7 @@ export type UiFlags = {
|
|||||||
addEditStrategy?: boolean;
|
addEditStrategy?: boolean;
|
||||||
newStrategyDropdown?: boolean;
|
newStrategyDropdown?: boolean;
|
||||||
flagsReleaseManagementUI?: boolean;
|
flagsReleaseManagementUI?: boolean;
|
||||||
|
cleanupReminder?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -69,7 +69,8 @@ export type IFlagKey =
|
|||||||
| 'addEditStrategy'
|
| 'addEditStrategy'
|
||||||
| 'newStrategyDropdown'
|
| 'newStrategyDropdown'
|
||||||
| 'flagsOverviewSearch'
|
| 'flagsOverviewSearch'
|
||||||
| 'flagsReleaseManagementUI';
|
| 'flagsReleaseManagementUI'
|
||||||
|
| 'cleanupReminder';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -330,6 +331,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_FLAGS_RELEASE_MANAGEMENT_UI,
|
process.env.UNLEASH_EXPERIMENTAL_FLAGS_RELEASE_MANAGEMENT_UI,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
cleanupReminder: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_CLEANUP_REMINDER,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -61,6 +61,7 @@ process.nextTick(async () => {
|
|||||||
newStrategyDropdown: true,
|
newStrategyDropdown: true,
|
||||||
addEditStrategy: true,
|
addEditStrategy: true,
|
||||||
flagsOverviewSearch: true,
|
flagsOverviewSearch: true,
|
||||||
|
cleanupReminder: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user