mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
Restore additional feedback page (#8750)
Partial revert of 656483d819
Reuse search feedback.
This commit is contained in:
parent
4fabf49706
commit
3699646680
@ -256,6 +256,14 @@ exports[`returns all baseRoutes 1`] = `
|
||||
"title": "Environments",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"flag": "feedbackPosting",
|
||||
"menu": {},
|
||||
"path": "/feedback",
|
||||
"title": "Feedback",
|
||||
"type": "protected",
|
||||
},
|
||||
{
|
||||
"component": [Function],
|
||||
"enterprise": true,
|
||||
|
@ -43,6 +43,7 @@ import { ViewIntegration } from 'component/integrations/ViewIntegration/ViewInte
|
||||
import { PaginatedApplicationList } from '../application/ApplicationList/PaginatedApplicationList';
|
||||
import { AddonRedirect } from 'component/integrations/AddonRedirect/AddonRedirect';
|
||||
import { Insights } from '../insights/Insights';
|
||||
import { FeedbackList } from '../feedbackNew/FeedbackList';
|
||||
import { Application } from 'component/application/Application';
|
||||
import { Signals } from 'component/signals/Signals';
|
||||
import { LazyCreateProject } from '../project/Project/CreateProject/LazyCreateProject';
|
||||
@ -271,6 +272,14 @@ export const routes: IRoute[] = [
|
||||
menu: { mobile: true, advanced: true },
|
||||
enterprise: true,
|
||||
},
|
||||
{
|
||||
path: '/feedback',
|
||||
title: 'Feedback',
|
||||
component: FeedbackList,
|
||||
type: 'protected',
|
||||
flag: 'feedbackPosting',
|
||||
menu: {},
|
||||
},
|
||||
|
||||
// Release management/plans
|
||||
{
|
||||
|
@ -75,6 +75,7 @@ export type UiFlags = {
|
||||
adminTokenKillSwitch?: boolean;
|
||||
feedbackComments?: Variant;
|
||||
showInactiveUsers?: boolean;
|
||||
feedbackPosting?: boolean;
|
||||
userAccessUIEnabled?: boolean;
|
||||
outdatedSdksBanner?: boolean;
|
||||
estimateTrafficDataCost?: boolean;
|
||||
|
@ -28,6 +28,7 @@ export type IFlagKey =
|
||||
| 'signals'
|
||||
| 'automatedActions'
|
||||
| 'celebrateUnleash'
|
||||
| 'feedbackPosting'
|
||||
| 'extendedUsageMetrics'
|
||||
| 'adminTokenKillSwitch'
|
||||
| 'feedbackComments'
|
||||
@ -146,6 +147,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
|
||||
false,
|
||||
),
|
||||
feedbackPosting: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_FEEDBACK_POSTING,
|
||||
false,
|
||||
),
|
||||
encryptEmails: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_ENCRYPT_EMAILS,
|
||||
false,
|
||||
|
@ -44,6 +44,7 @@ process.nextTick(async () => {
|
||||
userAccessUIEnabled: true,
|
||||
outdatedSdksBanner: true,
|
||||
disableShowContextFieldSelectionValues: false,
|
||||
feedbackPosting: true,
|
||||
manyStrategiesPagination: true,
|
||||
enableLegacyVariants: false,
|
||||
extendedMetrics: true,
|
||||
|
Loading…
Reference in New Issue
Block a user