mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
feat: add feature flag for posting feedback (#5741)
This commit is contained in:
parent
cda7d2070c
commit
f53204c9b2
@ -85,6 +85,7 @@ exports[`should create default config 1`] = `
|
||||
"embedProxyFrontend": true,
|
||||
"featureSearchAPI": false,
|
||||
"featureSearchFeedback": false,
|
||||
"featureSearchFeedbackPosting": false,
|
||||
"featureSearchFrontend": false,
|
||||
"featuresExportImport": true,
|
||||
"filterInvalidClientMetrics": false,
|
||||
|
@ -35,7 +35,8 @@ export type IFlagKey =
|
||||
| 'incomingWebhooks'
|
||||
| 'celebrateUnleash'
|
||||
| 'increaseUnleashWidth'
|
||||
| 'featureSearchFeedback';
|
||||
| 'featureSearchFeedback'
|
||||
| 'featureSearchFeedbackPosting';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -161,6 +162,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_FEEDBACK,
|
||||
false,
|
||||
),
|
||||
featureSearchFeedbackPosting: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_FEATURE_SEARCH_FEEDBACK_POSTING,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user