Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: relocate tabs (#16292)
Danny Xu1368525290c3
diff --git a/frontend/src/components/Project/useProjectSidebar.ts b/frontend/src/components/Project/useProjectSidebar.tsindex c70bbb618a..58122ad2de 100644--- a/frontend/src/components/Project/useProjectSidebar.ts+++ b/frontend/src/components/Project/useProjectSidebar.ts@@ -2,9 +2,7 @@ import {Database,CircleDot,Users,- Link,Settings,- RefreshCcw,PencilRuler,SearchCodeIcon,DownloadIcon,@@ -103,26 +101,14 @@ export const useProjectSidebar = (type: "div",hide: databaseChangeMode.value === DatabaseChangeMode.EDITOR,},+ {+ title: t("database.sync-schema.title"),+ path: PROJECT_V1_ROUTE_SYNC_SCHEMA,+ type: "div",+ hide: databaseChangeMode.value === DatabaseChangeMode.EDITOR,+ },],},- {- title: t("review-center.self"),- icon: () => h(SearchCodeIcon),- path: PROJECT_V1_ROUTE_REVIEW_CENTER,- type: "div",- hide:- isDefaultProject.value ||- databaseChangeMode.value === DatabaseChangeMode.EDITOR,- },- {- title: t("export-center.self"),- icon: () => h(DownloadIcon),- path: PROJECT_V1_ROUTE_EXPORT_CENTER,- type: "div",- hide:- isDefaultProject.value ||- databaseChangeMode.value === DatabaseChangeMode.EDITOR,- },{title: t("changelist.changelists"),path: PROJECT_V1_ROUTE_CHANGELISTS,@@ -142,29 +128,22 @@ export const useProjectSidebar = (databaseChangeMode.value === DatabaseChangeMode.EDITOR,},{- title: t("database.sync-schema.title"),- path: PROJECT_V1_ROUTE_SYNC_SCHEMA,- icon: () => h(RefreshCcw),+ title: t("review-center.self"),+ icon: () => h(SearchCodeIcon),+ path: PROJECT_V1_ROUTE_REVIEW_CENTER,type: "div",hide:isDefaultProject.value ||databaseChangeMode.value === DatabaseChangeMode.EDITOR,},{- title: t("settings.sidebar.integration"),- icon: () => h(Link),+ title: t("export-center.self"),+ icon: () => h(DownloadIcon),+ path: PROJECT_V1_ROUTE_EXPORT_CENTER,type: "div",hide:isDefaultProject.value ||databaseChangeMode.value === DatabaseChangeMode.EDITOR,- expand: true,- children: [- {- title: t("common.webhooks"),- path: PROJECT_V1_ROUTE_WEBHOOKS,- type: "div",- },- ],},{title: t("common.manage"),@@ -178,6 +157,12 @@ export const useProjectSidebar = (path: PROJECT_V1_ROUTE_MEMBERS,type: "div",},+ {+ title: t("common.webhooks"),+ path: PROJECT_V1_ROUTE_WEBHOOKS,+ type: "div",+ hide: databaseChangeMode.value === DatabaseChangeMode.EDITOR,+ },{title: t("project.masking-exemption.self"),path: PROJECT_V1_ROUTE_MASKING_EXEMPTION,