mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +01:00
feat: add playground imrpovements flag (#5045)
Adds the playgroundImprovements flag Close # [1-1508](https://linear.app/unleash/issue/1-1508/add-playgroundimprovements-feature-flag) --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
b58d900c2d
commit
8561ba8df7
@ -71,6 +71,7 @@ export type UiFlags = {
|
|||||||
dependentFeatures?: boolean;
|
dependentFeatures?: boolean;
|
||||||
internalMessageBanners?: boolean;
|
internalMessageBanners?: boolean;
|
||||||
disableEnvsOnRevive?: boolean;
|
disableEnvsOnRevive?: boolean;
|
||||||
|
playgroundImprovements?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export interface IVersionInfo {
|
export interface IVersionInfo {
|
||||||
|
@ -108,6 +108,7 @@ exports[`should create default config 1`] = `
|
|||||||
"multipleRoles": false,
|
"multipleRoles": false,
|
||||||
"newInviteLink": false,
|
"newInviteLink": false,
|
||||||
"personalAccessTokensKillSwitch": false,
|
"personalAccessTokensKillSwitch": false,
|
||||||
|
"playgroundImprovements": false,
|
||||||
"privateProjects": false,
|
"privateProjects": false,
|
||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
"responseTimeWithAppNameKillSwitch": false,
|
"responseTimeWithAppNameKillSwitch": false,
|
||||||
@ -153,6 +154,7 @@ exports[`should create default config 1`] = `
|
|||||||
"multipleRoles": false,
|
"multipleRoles": false,
|
||||||
"newInviteLink": false,
|
"newInviteLink": false,
|
||||||
"personalAccessTokensKillSwitch": false,
|
"personalAccessTokensKillSwitch": false,
|
||||||
|
"playgroundImprovements": false,
|
||||||
"privateProjects": false,
|
"privateProjects": false,
|
||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
"responseTimeWithAppNameKillSwitch": false,
|
"responseTimeWithAppNameKillSwitch": false,
|
||||||
|
@ -38,7 +38,8 @@ export type IFlagKey =
|
|||||||
| 'internalMessageBanners'
|
| 'internalMessageBanners'
|
||||||
| 'internalMessageBanner'
|
| 'internalMessageBanner'
|
||||||
| 'separateAdminClientApi'
|
| 'separateAdminClientApi'
|
||||||
| 'disableEnvsOnRevive';
|
| 'disableEnvsOnRevive'
|
||||||
|
| 'playgroundImprovements';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -178,6 +179,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_DISABLE_ENVS_ON_REVIVE,
|
process.env.UNLEASH_EXPERIMENTAL_DISABLE_ENVS_ON_REVIVE,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
playgroundImprovements: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_PLAYGROUND_IMPROVEMENTS,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user