mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-10 01:16:39 +02: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",
|
"title": "Environments",
|
||||||
"type": "protected",
|
"type": "protected",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"component": [Function],
|
||||||
|
"flag": "feedbackPosting",
|
||||||
|
"menu": {},
|
||||||
|
"path": "/feedback",
|
||||||
|
"title": "Feedback",
|
||||||
|
"type": "protected",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"component": [Function],
|
"component": [Function],
|
||||||
"enterprise": true,
|
"enterprise": true,
|
||||||
|
@ -43,6 +43,7 @@ import { ViewIntegration } from 'component/integrations/ViewIntegration/ViewInte
|
|||||||
import { PaginatedApplicationList } from '../application/ApplicationList/PaginatedApplicationList';
|
import { PaginatedApplicationList } from '../application/ApplicationList/PaginatedApplicationList';
|
||||||
import { AddonRedirect } from 'component/integrations/AddonRedirect/AddonRedirect';
|
import { AddonRedirect } from 'component/integrations/AddonRedirect/AddonRedirect';
|
||||||
import { Insights } from '../insights/Insights';
|
import { Insights } from '../insights/Insights';
|
||||||
|
import { FeedbackList } from '../feedbackNew/FeedbackList';
|
||||||
import { Application } from 'component/application/Application';
|
import { Application } from 'component/application/Application';
|
||||||
import { Signals } from 'component/signals/Signals';
|
import { Signals } from 'component/signals/Signals';
|
||||||
import { LazyCreateProject } from '../project/Project/CreateProject/LazyCreateProject';
|
import { LazyCreateProject } from '../project/Project/CreateProject/LazyCreateProject';
|
||||||
@ -271,6 +272,14 @@ export const routes: IRoute[] = [
|
|||||||
menu: { mobile: true, advanced: true },
|
menu: { mobile: true, advanced: true },
|
||||||
enterprise: true,
|
enterprise: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/feedback',
|
||||||
|
title: 'Feedback',
|
||||||
|
component: FeedbackList,
|
||||||
|
type: 'protected',
|
||||||
|
flag: 'feedbackPosting',
|
||||||
|
menu: {},
|
||||||
|
},
|
||||||
|
|
||||||
// Release management/plans
|
// Release management/plans
|
||||||
{
|
{
|
||||||
|
@ -75,6 +75,7 @@ export type UiFlags = {
|
|||||||
adminTokenKillSwitch?: boolean;
|
adminTokenKillSwitch?: boolean;
|
||||||
feedbackComments?: Variant;
|
feedbackComments?: Variant;
|
||||||
showInactiveUsers?: boolean;
|
showInactiveUsers?: boolean;
|
||||||
|
feedbackPosting?: boolean;
|
||||||
userAccessUIEnabled?: boolean;
|
userAccessUIEnabled?: boolean;
|
||||||
outdatedSdksBanner?: boolean;
|
outdatedSdksBanner?: boolean;
|
||||||
estimateTrafficDataCost?: boolean;
|
estimateTrafficDataCost?: boolean;
|
||||||
|
@ -28,6 +28,7 @@ export type IFlagKey =
|
|||||||
| 'signals'
|
| 'signals'
|
||||||
| 'automatedActions'
|
| 'automatedActions'
|
||||||
| 'celebrateUnleash'
|
| 'celebrateUnleash'
|
||||||
|
| 'feedbackPosting'
|
||||||
| 'extendedUsageMetrics'
|
| 'extendedUsageMetrics'
|
||||||
| 'adminTokenKillSwitch'
|
| 'adminTokenKillSwitch'
|
||||||
| 'feedbackComments'
|
| 'feedbackComments'
|
||||||
@ -146,6 +147,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
|
process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
feedbackPosting: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_FEEDBACK_POSTING,
|
||||||
|
false,
|
||||||
|
),
|
||||||
encryptEmails: parseEnvVarBoolean(
|
encryptEmails: parseEnvVarBoolean(
|
||||||
process.env.UNLEASH_EXPERIMENTAL_ENCRYPT_EMAILS,
|
process.env.UNLEASH_EXPERIMENTAL_ENCRYPT_EMAILS,
|
||||||
false,
|
false,
|
||||||
|
@ -44,6 +44,7 @@ process.nextTick(async () => {
|
|||||||
userAccessUIEnabled: true,
|
userAccessUIEnabled: true,
|
||||||
outdatedSdksBanner: true,
|
outdatedSdksBanner: true,
|
||||||
disableShowContextFieldSelectionValues: false,
|
disableShowContextFieldSelectionValues: false,
|
||||||
|
feedbackPosting: true,
|
||||||
manyStrategiesPagination: true,
|
manyStrategiesPagination: true,
|
||||||
enableLegacyVariants: false,
|
enableLegacyVariants: false,
|
||||||
extendedMetrics: true,
|
extendedMetrics: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user