diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index bc8b09248f..695139f67c 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -85,6 +85,7 @@ exports[`should create default config 1`] = ` "embedProxyFrontend": true, "featureSearchAPI": false, "featureSearchFeedback": false, + "featureSearchFeedbackPosting": false, "featureSearchFrontend": false, "featuresExportImport": true, "filterInvalidClientMetrics": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index c36ad59ce4..d0eebbe791 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -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 = {