1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-04 01:18:20 +02:00

chore: change request playground flag (#7707)

This commit is contained in:
Mateusz Kwasniewski 2024-07-31 11:38:55 +02:00 committed by GitHub
parent 6170d10e62
commit 126dff2344
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
"automatedActions": false, "automatedActions": false,
"caseInsensitiveInOperators": false, "caseInsensitiveInOperators": false,
"celebrateUnleash": false, "celebrateUnleash": false,
"changeRequestPlayground": false,
"cleanApiTokenWhenOrphaned": false, "cleanApiTokenWhenOrphaned": false,
"collectTrafficDataUsage": false, "collectTrafficDataUsage": false,
"commandBarUI": false, "commandBarUI": false,

View File

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

View File

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