1
0
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:
Tymoteusz Czech 2024-11-14 11:01:45 +01:00 committed by GitHub
parent 4fabf49706
commit 3699646680
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 24 additions and 0 deletions

View File

@ -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,

View File

@ -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
{

View File

@ -75,6 +75,7 @@ export type UiFlags = {
adminTokenKillSwitch?: boolean;
feedbackComments?: Variant;
showInactiveUsers?: boolean;
feedbackPosting?: boolean;
userAccessUIEnabled?: boolean;
outdatedSdksBanner?: boolean;
estimateTrafficDataCost?: boolean;

View File

@ -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,

View File

@ -44,6 +44,7 @@ process.nextTick(async () => {
userAccessUIEnabled: true,
outdatedSdksBanner: true,
disableShowContextFieldSelectionValues: false,
feedbackPosting: true,
manyStrategiesPagination: true,
enableLegacyVariants: false,
extendedMetrics: true,