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

feat: notifications flag (#3172)

Adds feature flag for notification
This commit is contained in:
Mateusz Kwasniewski 2023-02-21 14:47:49 +01:00 committed by GitHub
parent f8c826450e
commit ac9da976cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,7 @@ exports[`should create default config 1`] = `
"maintenanceMode": false, "maintenanceMode": false,
"messageBanner": false, "messageBanner": false,
"newProjectOverview": false, "newProjectOverview": false,
"notifications": false,
"projectStatusApi": false, "projectStatusApi": false,
"proxyReturnAllToggles": false, "proxyReturnAllToggles": false,
"responseTimeWithAppName": false, "responseTimeWithAppName": false,
@ -98,6 +99,7 @@ exports[`should create default config 1`] = `
"maintenanceMode": false, "maintenanceMode": false,
"messageBanner": false, "messageBanner": false,
"newProjectOverview": false, "newProjectOverview": false,
"notifications": false,
"projectStatusApi": false, "projectStatusApi": false,
"proxyReturnAllToggles": false, "proxyReturnAllToggles": false,
"responseTimeWithAppName": false, "responseTimeWithAppName": false,

View File

@ -62,6 +62,7 @@ const flags = {
process.env.UNLEASH_STRICT_SCHEMA_VALIDTION, process.env.UNLEASH_STRICT_SCHEMA_VALIDTION,
false, false,
), ),
notifications: parseEnvVarBoolean(process.env.NOTIFICATIONS, false),
}; };
export const defaultExperimentalOptions: IExperimentalOptions = { export const defaultExperimentalOptions: IExperimentalOptions = {