1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +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;
newStrategyDropdown?: boolean;
flagsReleaseManagementUI?: boolean;
cleanupReminder?: boolean;
};
export interface IVersionInfo {

View File

@ -69,7 +69,8 @@ export type IFlagKey =
| 'addEditStrategy'
| 'newStrategyDropdown'
| 'flagsOverviewSearch'
| 'flagsReleaseManagementUI';
| 'flagsReleaseManagementUI'
| 'cleanupReminder';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -330,6 +331,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_FLAGS_RELEASE_MANAGEMENT_UI,
false,
),
cleanupReminder: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_CLEANUP_REMINDER,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

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