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,
|
"proPlanAutoCharge": false,
|
||||||
"responseTimeWithAppNameKillSwitch": false,
|
"responseTimeWithAppNameKillSwitch": false,
|
||||||
"segmentContextFieldUsage": false,
|
"segmentContextFieldUsage": false,
|
||||||
|
"slackAppAddon": false,
|
||||||
"strategySplittedButton": false,
|
"strategySplittedButton": false,
|
||||||
"strategyVariant": false,
|
"strategyVariant": false,
|
||||||
"strictSchemaValidation": false,
|
"strictSchemaValidation": false,
|
||||||
@ -128,6 +129,7 @@ exports[`should create default config 1`] = `
|
|||||||
"proPlanAutoCharge": false,
|
"proPlanAutoCharge": false,
|
||||||
"responseTimeWithAppNameKillSwitch": false,
|
"responseTimeWithAppNameKillSwitch": false,
|
||||||
"segmentContextFieldUsage": false,
|
"segmentContextFieldUsage": false,
|
||||||
|
"slackAppAddon": false,
|
||||||
"strategySplittedButton": false,
|
"strategySplittedButton": false,
|
||||||
"strategyVariant": false,
|
"strategyVariant": false,
|
||||||
"strictSchemaValidation": false,
|
"strictSchemaValidation": false,
|
||||||
|
@ -25,7 +25,8 @@ export type IFlagKey =
|
|||||||
| 'customRootRoles'
|
| 'customRootRoles'
|
||||||
| 'strategySplittedButton'
|
| 'strategySplittedButton'
|
||||||
| 'strategyVariant'
|
| 'strategyVariant'
|
||||||
| 'newProjectLayout';
|
| 'newProjectLayout'
|
||||||
|
| 'slackAppAddon';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -118,6 +119,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_STRATEGY_VARIANT,
|
process.env.UNLEASH_STRATEGY_VARIANT,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
slackAppAddon: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_SLACK_APP_ADDON,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
Loading…
Reference in New Issue
Block a user