1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00

chore: cleanup reminder flag (#9769)

This commit is contained in:
Mateusz Kwasniewski 2025-04-16 11:25:50 +02:00 committed by GitHub
parent 187f265680
commit 695c50b7d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -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 {

View File

@ -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 = {

View File

@ -61,6 +61,7 @@ process.nextTick(async () => {
newStrategyDropdown: true, newStrategyDropdown: true,
addEditStrategy: true, addEditStrategy: true,
flagsOverviewSearch: true, flagsOverviewSearch: true,
cleanupReminder: true,
}, },
}, },
authentication: { authentication: {