Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: add description to multitenancy (#12721)

boojack06c7c5ff2caa
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
index a9c61de13c..0b5962376a 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
@@ -59,9 +59,14 @@
{{ $t("common.options") }}
</p>
<div>
- <NCheckbox v-model:checked="state.multitenancy" size="large">
- {{ $t("database-group.multitenancy") }}
- </NCheckbox>
+ <NCheckbox
+ v-model:checked="state.multitenancy"
+ size="large"
+ :label="$t('database-group.multitenancy.self')"
+ />
+ <p class="text-sm text-gray-400 pl-6 ml-0.5">
+ {{ $t("database-group.multitenancy.description") }}
+ </p>
</div>
</div>
</div>
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue
index 1e9f1d19e8..e30186f6cb 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupPanel.vue
@@ -17,7 +17,10 @@
/>
<template #footer>
<div class="w-full flex justify-between items-center">
- <NButton v-if="showDeleteButton" type="error" @click="doDelete">
+ <NButton v-if="showDeleteButton" text @click="doDelete">
+ <template #icon>
+ <Trash2Icon class="w-4 h-auto" />
+ </template>
{{ $t("common.delete") }}
</NButton>
<div class="flex flex-row justify-end items-center gap-x-2">
@@ -37,6 +40,7 @@
</template>
<script lang="ts" setup>
+import { Trash2Icon } from "lucide-vue-next";
import { NButton, useDialog } from "naive-ui";
import type { ClientError } from "nice-grpc-common";
import { computed, onMounted, ref } from "vue";
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 78e81b360a..803f0ae167 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -3391,7 +3391,10 @@
"edit": "Edit database group",
"matched-database": "Matched database",
"unmatched-database": "Unmatched database",
- "multitenancy": "Multitenancy",
+ "multitenancy": {
+ "self": "Multitenancy",
+ "description": "Enables managing multiple homogeneous databases in one workflow across different tenants."
+ },
"condition": {
"self": "Condition"
},
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 3622748d8a..e5f5de8bc5 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -2230,12 +2230,12 @@
"read-replica-port": "Puerto de réplica de lectura",
"delete-read-only-data-source": "Eliminar origen de datos de solo lectura",
"connection-string-schema": "Esquema de cadena de conexión",
+ "connection-type": "Tipo de conección",
"additional-node-addresses": "Direcciones de nodos adicionales",
"replica-set": "Conjunto de réplicas",
"admin": "Admin",
"read-only": "Solo lectura",
- "direct-connection": "Direct Connection",
- "connection-type": "Tipo de conección"
+ "direct-connection": "Direct Connection"
},
"setting": {
"project": {
@@ -3391,7 +3391,10 @@
"edit": "Editar grupo de bases de datos",
"matched-database": "Base de datos coincidente",
"unmatched-database": "Base de datos no coincidente",
- "multitenancy": "Multi Alquiler",
+ "multitenancy": {
+ "self": "Multi Alquiler",
+ "description": "Permite gestionar múltiples bases de datos homogéneas en un flujo de trabajo entre diferentes inquilinos."
+ },
"condition": {
"self": "Condición"
},
@@ -3613,4 +3616,4 @@
"self": "Última actualización"
}
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 3d56e04943..cc5db1613e 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -2230,12 +2230,12 @@
"read-replica-port": "リードレプリカポート",
"delete-read-only-data-source": "読み取り専用データソースを削除する",
"connection-string-schema": "接続文字列モード",
+ "connection-type": "接続タイプ",
"additional-node-addresses": "追加のノードアドレス",
"replica-set": "レプリカセット",
"admin": "メインライブラリ",
"read-only": "図書館から",
- "direct-connection": "Direct Connection",
- "connection-type": "接続タイプ"
+ "direct-connection": "Direct Connection"
},
"setting": {
"project": {
@@ -3391,7 +3391,10 @@
"edit": "データベースグループの編集",
"matched-database": "マッチングデータベース",
"unmatched-database": "データベースが一致しません",
- "multitenancy": "マルチテナント",
+ "multitenancy": {
+ "self": "マルチテナント",
+ "description": "異なるテナント間で複数の同種データベースを 1 つのワークフローで管理できます。"
+ },
"condition": {
"self": "状態"
},
@@ -3613,4 +3616,4 @@
"self": "最後の更新"
}
}
-}
+}
\ No newline at end of file
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 13cbf45c3d..35479dcead 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -2230,12 +2230,12 @@
"read-replica-port": "只读副本端口",
"delete-read-only-data-source": "删除只读数据源",
"connection-string-schema": "连接串模式",
+ "connection-type": "连接类型",
"additional-node-addresses": "附加节点地址",
"replica-set": "副本集",
"admin": "主库",
"read-only": "从库",
- "direct-connection": "Direct Connection",
- "connection-type": "连接类型"
+ "direct-connection": "Direct Connection"
},
"setting": {
"project": {
@@ -3391,7 +3391,10 @@
"edit": "编辑数据库分组",
"matched-database": "相匹配的数据库",
"unmatched-database": "不匹配的数据库",
- "multitenancy": "多租户",
+ "multitenancy": {
+ "self": "多租户",
+ "description": "支持管理跨不同租户的多个同构数据库。"
+ },
"condition": {
"self": "条件"
},