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: update wording about catalog tab (#14893)
Danny Xu2f03ed69c662
diff --git a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vueindex e03854c3e7..574552821f 100644--- a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue+++ b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue@@ -4,17 +4,6 @@v-if="hasSensitiveDataFeature && isMissingLicenseForInstance"feature="bb.feature.sensitive-data"/>- <div class="textinfolabel">- {{ $t("settings.sensitive-data.description") }}- <a- href="https://www.bytebase.com/docs/security/mask-data?source=console"- class="normal-link inline-flex flex-row items-center"- target="_blank"- >- {{ $t("common.learn-more") }}- <heroicons-outline:external-link class="w-4 h-4" />- </a>- </div><divclass="flex flex-col space-x-2 lg:flex-row gap-y-4 justify-between items-end lg:items-center">diff --git a/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue b/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vueindex f6d72d1efa..78b4096483 100644--- a/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue+++ b/frontend/src/components/SensitiveData/components/SensitiveColumnTable.vue@@ -93,6 +93,22 @@ const checkedItemKeys = computed(() => {const dataTableColumns = computed(() => {const columns: DataTableColumn<MaskData>[] = [+ {+ key: "table",+ title: t("common.table"),+ resizable: true,+ render(item) {+ return item.schema ? `${item.schema}.${item.table}` : item.table;+ },+ },+ {+ key: "column",+ title: t("database.column"),+ resizable: true,+ render(item) {+ return item.column;+ },+ },{key: "semantic-type",title: t("settings.sensitive-data.semantic-types.table.semantic-type"),@@ -131,22 +147,6 @@ const dataTableColumns = computed(() => {);},},- {- key: "table",- title: t("common.table"),- resizable: true,- render(item) {- return item.schema ? `${item.schema}.${item.table}` : item.table;- },- },- {- key: "column",- title: t("database.column"),- resizable: true,- render(item) {- return item.column;- },- },];if (props.showOperation) {columns.push({diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex a37fc57246..2d40f6879f 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -297,7 +297,8 @@"finish": "Finish","title": "Title","hide": "Hide",- "text-wrap": "Text wrap"+ "text-wrap": "Text wrap",+ "catalog": "Catalog"},"error-page": {"go-back-home": "Go back home"@@ -809,9 +810,7 @@}},"sensitive-data": {- "description": "Following columns are explicitly assigned masking levels and take predence over the global masking rule.","remove-sensitive-column-tips": "Expose this column?",- "sensitive-column-list": "Explicit Masked Columns","global-masking-rule": "Global Masking Rule","grant-access": "Grant Access","never-expires": "Never expires",diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex 8b856c8c9b..1780e2fc80 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -297,7 +297,8 @@"finish": "Finalizar","title": "Título","hide": "Esconder",- "text-wrap": "Ajuste de texto"+ "text-wrap": "Ajuste de texto",+ "catalog": "Catálogo"},"error-page": {"go-back-home": "Volver al inicio"@@ -809,9 +810,7 @@}},"sensitive-data": {- "description": "A las siguientes columnas se les asignan niveles de enmascaramiento explícitamente y tienen prioridad sobre la regla de enmascaramiento global.","remove-sensitive-column-tips": "¿Exponer esta columna?",- "sensitive-column-list": "Columnas Explícitas Enmascaradas","global-masking-rule": "Regla De Enmascaramiento Global","grant-access": "Autorizará el acceso","never-expires": "Nunca expira",diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.jsonindex be8d73fd22..694fbf2b57 100644--- a/frontend/src/locales/ja-JP.json+++ b/frontend/src/locales/ja-JP.json@@ -297,7 +297,8 @@"finish": "仕上げる","title": "タイトル","hide": "隠れる",- "text-wrap": "テキストの折り返し"+ "text-wrap": "テキストの折り返し",+ "catalog": "カタログ"},"error-page": {"go-back-home": "ホームページに戻る"@@ -809,9 +810,7 @@}},"sensitive-data": {- "description": "以下のカラムは明示的にマスキングレベルが割り当てられており、グローバルマスキングルールよりも優先されます。","remove-sensitive-column-tips": "このデータ列の感度を下げなくなりますか?",- "sensitive-column-list": "個別マスクカラム","global-masking-rule": "グローバルマスキングルール","grant-access": "許可されたアクセス","never-expires": "有効期限なし",diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex a3ef2a4d28..17c3de8829 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -297,7 +297,8 @@"finish": "完成","title": "标题","hide": "隐藏",- "text-wrap": "文本折行"+ "text-wrap": "文本折行",+ "catalog": "Catalog"},"error-page": {"go-back-home": "回到主页"@@ -809,9 +810,7 @@}},"sensitive-data": {- "description": "以下脱敏列被显示地标记了脱敏等级,优先级高于全局脱敏规则。","remove-sensitive-column-tips": "不再对此列数据脱敏?",- "sensitive-column-list": "被显式标记的脱敏列","global-masking-rule": "全局脱敏规则","grant-access": "授权访问","never-expires": "无过期时间",diff --git a/frontend/src/utils/useDashboardSidebar.ts b/frontend/src/utils/useDashboardSidebar.tsindex 353cae1694..6417308258 100644--- a/frontend/src/utils/useDashboardSidebar.ts+++ b/frontend/src/utils/useDashboardSidebar.ts@@ -264,6 +264,11 @@ export const useDashboardSidebar = () => {icon: () => h(ShieldCheck),type: "div",children: [+ {+ title: t("settings.sensitive-data.semantic-types.self"),+ name: WORKSPACE_ROUTE_SEMANTIC_TYPES,+ type: "route",+ },{title: t("settings.sidebar.data-classification"),name: WORKSPACE_ROUTE_DATA_CLASSIFICATION,@@ -274,11 +279,6 @@ export const useDashboardSidebar = () => {name: WORKSPACE_ROUTE_DATA_MASKING,type: "route",},- {- title: t("settings.sensitive-data.semantic-types.self"),- name: WORKSPACE_ROUTE_SEMANTIC_TYPES,- type: "route",- },],},{diff --git a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail/DatabaseDetail.vueindex 62f8576040..e8c4f8fb57 100644--- a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue+++ b/frontend/src/views/DatabaseDetail/DatabaseDetail.vue@@ -140,8 +140,8 @@<DatabaseSlowQueryPanel class="mt-2" :database="database" /></NTabPane><NTabPane- name="sensitive-data"- :tab="$t('settings.sensitive-data.sensitive-column-list')"+ name="catalog"+ :tab="$t('common.catalog')"><DatabaseSensitiveDataPanel class="mt-2" :database="database" /></NTabPane>@@ -256,7 +256,7 @@ const databaseHashList = ["revision","slow-query","setting",- "sensitive-data",+ "catalog",] as const;export type DatabaseHash = (typeof databaseHashList)[number];const isDatabaseHash = (x: any): x is DatabaseHash =>