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: unify filter by name wording and add button consistency (#8637)
Tianzhou (天舟)dff56b9f13c8
diff --git a/frontend/src/components/Issue/panel/RequestExportPanel/ExportResourceForm/DatabaseResourceSelector.vue b/frontend/src/components/Issue/panel/RequestExportPanel/ExportResourceForm/DatabaseResourceSelector.vueindex 14436fda55..6f30d7473e 100644--- a/frontend/src/components/Issue/panel/RequestExportPanel/ExportResourceForm/DatabaseResourceSelector.vue+++ b/frontend/src/components/Issue/panel/RequestExportPanel/ExportResourceForm/DatabaseResourceSelector.vue@@ -8,7 +8,7 @@:render-source-list="renderSourceList":render-target-list="renderTargetList":source-filterable="true"- :source-filter-placeholder="$t('database.filter-database-name')"+ :source-filter-placeholder="$t('common.filter-by-name')"/></div></template>diff --git a/frontend/src/components/Issue/panel/RequestQueryPanel/DatabaseResourceForm/DatabaseResourceSelector.vue b/frontend/src/components/Issue/panel/RequestQueryPanel/DatabaseResourceForm/DatabaseResourceSelector.vueindex c57c42d14c..41b703d2d6 100644--- a/frontend/src/components/Issue/panel/RequestQueryPanel/DatabaseResourceForm/DatabaseResourceSelector.vue+++ b/frontend/src/components/Issue/panel/RequestQueryPanel/DatabaseResourceForm/DatabaseResourceSelector.vue@@ -8,7 +8,7 @@:render-source-list="renderSourceList":render-target-list="renderTargetList":source-filterable="true"- :source-filter-placeholder="$t('database.filter-database-name')"+ :source-filter-placeholder="$t('common.filter-by-name')"/></div></template>diff --git a/frontend/src/components/ProjectBranchesPanel.vue b/frontend/src/components/ProjectBranchesPanel.vueindex 8ec0e54f1b..0fb5ac61a5 100644--- a/frontend/src/components/ProjectBranchesPanel.vue+++ b/frontend/src/components/ProjectBranchesPanel.vue@@ -7,7 +7,7 @@v-model:value="state.searchKeyword"class="!w-36"clearable- :placeholder="$t('schema-designer.action.filter-by-name')"+ :placeholder="$t('common.filter-by-name')"/><NButton type="primary" @click="handleCreateBranch"><heroicons-solid:plus class="w-4 h-auto mr-0.5" />diff --git a/frontend/src/components/ProjectOverviewPanel.vue b/frontend/src/components/ProjectOverviewPanel.vueindex 4229cbe51c..0c3ee39d09 100644--- a/frontend/src/components/ProjectOverviewPanel.vue+++ b/frontend/src/components/ProjectOverviewPanel.vue@@ -71,7 +71,7 @@<div class="flex flex-row space-x-4 p-0.5"><SearchBox:value="state.searchText"- :placeholder="$t('issue.filter-issue-by-name')"+ :placeholder="$t('common.filter-by-name')":autofocus="true"@update:value="changeSearchText($event)"/>diff --git a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue b/frontend/src/components/SQLReview/components/SQLRuleFilter.vueindex b84e6905c9..06b49d11d5 100644--- a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue+++ b/frontend/src/components/SQLReview/components/SQLRuleFilter.vue@@ -19,7 +19,7 @@<BBTableSearchref="searchField"class="w-full lg:w-auto"- :placeholder="$t('sql-review.search-rule-name')"+ :placeholder="$t('common.filter-by-name')"@change-text="$emit('change-search-text', $event)"/></div>diff --git a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vueindex f4e668a10a..ee55f3766a 100644--- a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue+++ b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue@@ -32,7 +32,7 @@:render-source-list="renderSourceList":render-target-list="renderTargetList":source-filterable="true"- :source-filter-placeholder="$t('database.filter-database-name')"+ :source-filter-placeholder="$t('common.filter-by-name')"class="bb-transfer-out-database-transfer"style="height: 100%"/>diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.jsonindex 9019e5da71..10157cb5d6 100644--- a/frontend/src/locales/en-US.json+++ b/frontend/src/locales/en-US.json@@ -865,7 +865,6 @@}}},- "filter-issue-by-name": "Filter issue by name","table": {"open": "Open","closed": "Closed",@@ -1323,7 +1322,6 @@"no-anomalies-detected": "No anomalies detected","sync-status": "Sync status","last-successful-sync": "Last successful sync",- "filter-database-name": "Filter database name","filter-database": "Filter database","database-backup": "database backup","transfer-project": "Transfer Project",@@ -1617,8 +1615,7 @@"content": "Bytebase project is similar to the project concept in other common dev tools.\n\nA project has its own members, and every issue and database always belongs to a single project.\n\nA project can also be configured to link to a repository to enable GitOps workflow.","cancel": "Dismiss","confirm": "Do not show again"- },- "filter-project-name": "Filter project name"+ }},"table": {"key": "@:common.key",@@ -2056,7 +2053,6 @@}}},- "filter-by-name": "Filter by name","batch-query": {"batch": "Batch","select-database": "Select database below",@@ -2441,7 +2437,6 @@"create-policy": "Create policy","duplicate-policy": "Duplicate SQL Review Policy","configure-policy": "Configure policy",- "search-rule-name": "Search rule name","policy-removed": "Successfully removed the review policy.","policy-created": "Successfully created the review policy.","policy-updated": "Successfully updated the review policy.",@@ -3051,8 +3046,7 @@},"action": {"use-the-existing-branch": "Use the existing branch",- "create-new-branch": "Create new branch",- "filter-by-name": "Filter by name"+ "create-new-branch": "Create new branch"}},"cel": {diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.jsonindex fbb20819ea..ae4bbd4d35 100644--- a/frontend/src/locales/es-ES.json+++ b/frontend/src/locales/es-ES.json@@ -864,7 +864,6 @@}}},- "filter-issue-by-name": "Filtrar problema por nombre","table": {"open": "Abierto","closed": "Cerrado",@@ -1322,7 +1321,6 @@"no-anomalies-detected": "No se detectaron anomalías","sync-status": "Estado de sincronización","last-successful-sync": "Última sincronización exitosa",- "filter-database-name": "Filtrar nombre de base de datos","filter-database": "Filtrar base de datos","database-backup": "copia de seguridad de la base de datos","transfer-project": "Transferir proyecto",@@ -1616,8 +1614,7 @@"content": "El proyecto de Bytebase es similar al concepto de proyecto en otras herramientas de desarrollo comunes.\n\nUn proyecto tiene sus propios miembros, y cada incidencia y base de datos siempre pertenece a un solo proyecto.\n\nUn proyecto también puede configurarse para enlazarlo con un repositorio y habilitar el flujo de trabajo de GitOps.","cancel": "Descartar","confirm": "No volver a mostrar"- },- "filter-project-name": "Filtrar nombre del proyecto"+ }},"table": {"key": "@:common.key",@@ -2052,7 +2049,6 @@}}},- "filter-by-name": "Filtrar por nombre","batch-query": {"batch": "Lote","select-database": "Seleccione la base de datos a continuación",@@ -2437,7 +2433,6 @@"create-policy": "Crear política","duplicate-policy": "Duplicar política de revisión de SQL","configure-policy": "Configurar política",- "search-rule-name": "Buscar nombre de regla","policy-removed": "La política de revisión se eliminó correctamente.","policy-created": "La política de revisión se creó correctamente.","policy-updated": "La política de revisión se actualizó correctamente.",@@ -3049,8 +3044,7 @@},"action": {"use-the-existing-branch": "Usar la rama existente",- "create-new-branch": "Crear nueva rama",- "filter-by-name": "Filtrar por nombre"+ "create-new-branch": "Crear nueva rama"}},"cel": {diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.jsonindex 7b695ee4e5..7099278372 100644--- a/frontend/src/locales/zh-CN.json+++ b/frontend/src/locales/zh-CN.json@@ -862,7 +862,6 @@}}},- "filter-issue-by-name": "根据名称过滤","table": {"open": "开启中","closed": "已关闭",@@ -1320,7 +1319,6 @@"last-successful-sync": "最后一次成功的同步","no-anomalies-detected": "没有检测到异常","sync-status": "同步状态",- "filter-database-name": "过滤数据库名称","filter-database": "过滤数据库","transfer-project": "转移项目","edit-schema": "变更 Schema",@@ -1612,8 +1610,7 @@"content": "在 Bytebase 中,项目的概念与其他常见的的开发工具类似\n\n一个项目会有属于他的协作成员,并且每一个数据库和工单总是归属于某一个项目\n\n同时,一个项目可以关联一个代码仓库,并以此来开启 GitOps 工作流","cancel": "关闭","confirm": "不再出现"- },- "filter-project-name": "过滤项目名称"+ }},"table": {"key": "@:common.key",@@ -2051,7 +2048,6 @@}}},- "filter-by-name": "根据名称过滤","batch-query": {"batch": "批量","select-database": "选择下面的数据库",@@ -2437,7 +2433,6 @@"create-policy": "创建审核策略","duplicate-policy": "复制审核策略","configure-policy": "配置审核策略",- "search-rule-name": "搜索规则名称","policy-removed": "审核策略已删除","policy-created": "审核策略已创建","policy-updated": "审核策略已更新",@@ -3044,8 +3039,7 @@},"action": {"use-the-existing-branch": "使用已有分支",- "create-new-branch": "创建新分支",- "filter-by-name": "根据名称过滤"+ "create-new-branch": "创建新分支"}},"cel": {diff --git a/frontend/src/views/Changelist/ChangelistDashboard/NavBar.vue b/frontend/src/views/Changelist/ChangelistDashboard/NavBar.vueindex 3359195e16..fd03794c0f 100644--- a/frontend/src/views/Changelist/ChangelistDashboard/NavBar.vue+++ b/frontend/src/views/Changelist/ChangelistDashboard/NavBar.vue@@ -4,8 +4,12 @@<ProjectSelect v-model:project="projectUID" :include-all="true" /></div><div class="flex items-center justify-end gap-x-2">- <SearchBox v-model:value="filter.keyword" />+ <SearchBox+ v-model:value="filter.keyword"+ :placeholder="$t('common.filter-by-name')"+ /><NButton type="primary" @click="showCreatePanel = true">+ <heroicons-solid:plus class="w-4 h-auto mr-0.5" />{{ $t("changelist.new") }}</NButton></div>diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vueindex c937af6611..14a4584fb4 100644--- a/frontend/src/views/Home.vue+++ b/frontend/src/views/Home.vue@@ -16,7 +16,7 @@</router-link><NInput:value="state.searchText"- :placeholder="$t('issue.filter-issue-by-name')"+ :placeholder="$t('common.filter-by-name')":autofocus="true"@update:value="changeSearchText($event)"/>diff --git a/frontend/src/views/IssueDashboard.vue b/frontend/src/views/IssueDashboard.vueindex 0b9eed3a9c..c0a60816c1 100644--- a/frontend/src/views/IssueDashboard.vue+++ b/frontend/src/views/IssueDashboard.vue@@ -35,7 +35,7 @@</NDatePicker><SearchBox:value="state.filterText"- :placeholder="$t('issue.filter-issue-by-name')"+ :placeholder="$t('common.filter-by-name')":autofocus="false"@update:value="state.filterText = $event"/>diff --git a/frontend/src/views/ProjectDashboard.vue b/frontend/src/views/ProjectDashboard.vueindex 04817603b3..f96c38a79f 100644--- a/frontend/src/views/ProjectDashboard.vue+++ b/frontend/src/views/ProjectDashboard.vue@@ -3,7 +3,7 @@<div class="px-2 py-2 flex justify-between items-center"><SearchBox:value="state.searchText"- :placeholder="$t('project.dashboard.filter-project-name')"+ :placeholder="$t('common.filter-by-name')":autofocus="true"style="width: 12rem"@update:value="changeSearchText($event)"diff --git a/frontend/src/views/SettingWorkspaceProject.vue b/frontend/src/views/SettingWorkspaceProject.vueindex d1c3f2d31b..0ac96ab678 100644--- a/frontend/src/views/SettingWorkspaceProject.vue+++ b/frontend/src/views/SettingWorkspaceProject.vue@@ -11,7 +11,7 @@<div class="flex justify-end items-center gap-x-2"><SearchBox:value="state.searchText"- :placeholder="$t('project.dashboard.filter-project-name')"+ :placeholder="$t('common.filter-by-name')":autofocus="true"@update:value="changeSearchText($event)"/>diff --git a/frontend/src/views/branch/BranchDashboard.vue b/frontend/src/views/branch/BranchDashboard.vueindex 88a12aafa1..ac914cbd04 100644--- a/frontend/src/views/branch/BranchDashboard.vue+++ b/frontend/src/views/branch/BranchDashboard.vue@@ -9,7 +9,7 @@v-model:value="state.searchKeyword"class="!w-36"clearable- :placeholder="$t('schema-designer.action.filter-by-name')"+ :placeholder="$t('common.filter-by-name')"/><NButton type="primary" @click="handleCreateBranch"><heroicons-solid:plus class="w-4 h-auto mr-0.5" />diff --git a/frontend/src/views/sql-editor/SecondarySidebar/InfoTabPane/SchemaPanel/SchemaPanel.vue b/frontend/src/views/sql-editor/SecondarySidebar/InfoTabPane/SchemaPanel/SchemaPanel.vueindex ef9308fcff..632ae079c6 100644--- a/frontend/src/views/sql-editor/SecondarySidebar/InfoTabPane/SchemaPanel/SchemaPanel.vue+++ b/frontend/src/views/sql-editor/SecondarySidebar/InfoTabPane/SchemaPanel/SchemaPanel.vue@@ -4,7 +4,7 @@<NInputv-model:value="keyword"size="small"- :placeholder="$t('sql-editor.filter-by-name')"+ :placeholder="$t('common.filter-by-name')":clearable="true"><template #prefix>