1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: new event search flag (#7699)

Add `newEventSearch` flag
This commit is contained in:
Jaanus Sellin 2024-07-31 09:59:42 +03:00 committed by GitHub
parent c3d2ae08d6
commit 24e2c4030b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View File

@ -95,6 +95,7 @@ export type UiFlags = {
featureCollaborators?: boolean;
integrationEvents?: boolean;
improveCreateFlagFlow?: boolean;
newEventSearch?: boolean;
};
export interface IVersionInfo {

View File

@ -144,6 +144,7 @@ exports[`should create default config 1`] = `
},
"migrationLock": true,
"navigationSidebar": true,
"newEventSearch": false,
"originMiddleware": false,
"outdatedSdksBanner": false,
"parseProjectFromSession": false,

View File

@ -71,7 +71,8 @@ export type IFlagKey =
| 'integrationEvents'
| 'featureCollaborators'
| 'improveCreateFlagFlow'
| 'originMiddleware';
| 'originMiddleware'
| 'newEventSearch';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -344,6 +345,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_ORIGIN_MIDDLEWARE,
false,
),
newEventSearch: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -61,6 +61,7 @@ process.nextTick(async () => {
featureCollaborators: true,
improveCreateFlagFlow: true,
originMiddleware: true,
newEventSearch: true,
},
},
authentication: {