mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
feat: add slackAppAddon feature flag (#4235)
https://linear.app/unleash/issue/2-1231/add-new-slack-app-addon-feature-flag Adds a new feature flag for the new slack app addon.
This commit is contained in:
parent
a785465943
commit
c387a19831
@ -94,6 +94,7 @@ exports[`should create default config 1`] = `
|
||||
"proPlanAutoCharge": false,
|
||||
"responseTimeWithAppNameKillSwitch": false,
|
||||
"segmentContextFieldUsage": false,
|
||||
"slackAppAddon": false,
|
||||
"strategySplittedButton": false,
|
||||
"strategyVariant": false,
|
||||
"strictSchemaValidation": false,
|
||||
@ -128,6 +129,7 @@ exports[`should create default config 1`] = `
|
||||
"proPlanAutoCharge": false,
|
||||
"responseTimeWithAppNameKillSwitch": false,
|
||||
"segmentContextFieldUsage": false,
|
||||
"slackAppAddon": false,
|
||||
"strategySplittedButton": false,
|
||||
"strategyVariant": false,
|
||||
"strictSchemaValidation": false,
|
||||
|
@ -25,7 +25,8 @@ export type IFlagKey =
|
||||
| 'customRootRoles'
|
||||
| 'strategySplittedButton'
|
||||
| 'strategyVariant'
|
||||
| 'newProjectLayout';
|
||||
| 'newProjectLayout'
|
||||
| 'slackAppAddon';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -118,6 +119,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_STRATEGY_VARIANT,
|
||||
false,
|
||||
),
|
||||
slackAppAddon: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_SLACK_APP_ADDON,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user