Skip to content

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

chore: add tooltip to all database in querier request issue (#6388)

boojack84bb2f26349d
diff --git a/frontend/src/components/Issue/form/GrantRequestQuerierForm.vue b/frontend/src/components/Issue/form/GrantRequestQuerierForm.vue
index a4ba1a0fa5..e6aff150af 100644
--- a/frontend/src/components/Issue/form/GrantRequestQuerierForm.vue
+++ b/frontend/src/components/Issue/form/GrantRequestQuerierForm.vue
@@ -25,11 +25,16 @@
class="w-full !flex flex-row justify-start items-start gap-4"
name="radiogroup"
>
- <NRadio
- class="!leading-6 whitespace-nowrap"
- :value="true"
- :label="$t('issue.grant-request.all-databases')"
- />
+ <NTooltip trigger="hover">
+ <template #trigger>
+ <NRadio
+ class="!leading-6 whitespace-nowrap"
+ :value="true"
+ :label="$t('issue.grant-request.all-databases')"
+ />
+ </template>
+ {{ $t("issue.grant-request.all-databases-tip") }}
+ </NTooltip>
<div class="flex flex-row justify-start flex-wrap gap-y-2">
<NRadio
class="!leading-6"
@@ -137,7 +142,7 @@
<script lang="ts" setup>
import { head } from "lodash-es";
-import { NRadioGroup, NRadio, NInputNumber } from "naive-ui";
+import { NRadioGroup, NRadio, NInputNumber, NTooltip } from "naive-ui";
import { computed, onMounted, reactive, watch } from "vue";
import { useI18n } from "vue-i18n";
import { useIssueLogic } from "../logic";
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index fe7fc38c4d..bcca7f36a5 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -770,6 +770,7 @@
"expire-days": "Expire days",
"expired-at": "Expired at",
"all-databases": "All",
+ "all-databases-tip": "All current and future databases in this project.",
"manually-select": "Manually select",
"customize": "Customize",
"data-export-attention": "The data will be exported to a file and downloaded to your local machine. And you can only do the export action once."
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 69dd5149ff..ca40055c3d 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -764,6 +764,7 @@
"expire-days": "días de caducidad",
"expired-at": "tiempo de caducidad",
"all-databases": "todas las bases de datos",
+ "all-databases-tip": "Todas las bases de datos actuales y futuras de este proyecto.",
"manually-select": "selección manual",
"customize": "personalice",
"data-export-attention": "Los datos se exportarán a un archivo y se descargarán en su computadora local. Y solo puede realizar la acción de exportación una vez."
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 23834940f5..7e040d8d86 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -768,6 +768,7 @@
"expire-days": "过期天数",
"expired-at": "过期时间",
"all-databases": "所有数据库",
+ "all-databases-tip": "所有当前和未来属于这个项目的数据库。",
"manually-select": "手动选择",
"customize": "自定义",
"data-export-attention": "数据将被导出到一个文件并自动下载。而且您只能完成一次导出操作。"