Skip to content

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

chore: little tweaks (#11487)

Danny Xuce128fc54b23
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 03655322a9..e35fec18d0 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1724,7 +1724,7 @@
"our-webhook-link": "The webhook created by Bytebase can be found at {webhookLink}.",
"branch-observe-file-change": "The branch where Bytebase observes the file change.",
"base-directory": "Base directory",
- "base-directory-description": "The root directory where Bytebase observes the file change. If empty, then it observes the entire repository.",
+ "base-directory-description": "The root directory where Bytebase observes the file change.",
"file-path-template": "File path template",
"file-path-template-description": "Bytebase only observes the file path name matching the template pattern relative to the base directory.",
"file-path-example-schema-migration": "File path example for schema migration type",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 9212ac0ca7..96585adba3 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1724,7 +1724,7 @@
"our-webhook-link": "El webhook creado por Bytebase se puede encontrar en {webhookLink}.",
"branch-observe-file-change": "La rama donde Bytebase observa el cambio de archivo.",
"base-directory": "Directorio base",
- "base-directory-description": "El directorio raíz donde Bytebase observa el cambio de archivo. Si está vacío, observa todo el repositorio.",
+ "base-directory-description": "El directorio raíz donde Bytebase observa el cambio de archivo.",
"file-path-template": "Plantilla de ruta de archivo",
"file-path-template-description": "Bytebase solo observa la ruta del archivo que coincida con el patrón de plantilla en relación al directorio base.",
"file-path-example-schema-migration": "Ejemplo de ruta de archivo para el tipo de migración de esquema",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 47cb243205..367d2031ae 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1724,7 +1724,7 @@
"our-webhook-link": "Bytebaseによって作成されたWebhookは{webhookLink}で見つけることができます。",
"branch-observe-file-change": "Bytebaseがファイルの変更を監視するブランチ。",
"base-directory": "ベースディレクトリ",
- "base-directory-description": "Bytebaseがファイルの変更を監視するルートディレクトリ。空の場合は、リポジトリ全体を監視します。",
+ "base-directory-description": "Bytebaseがファイルの変更を監視するルートディレクトリ。",
"file-path-template": "ファイルパスのテンプレート",
"file-path-template-description": "Bytebaseは、ベースディレクトリに対して相対的なテンプレートパターンに一致するファイルパス名のみを監視します。",
"file-path-example-schema-migration": "スキーママイグレーションタイプのファイルパスの例",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index 7ea3bf8ee3..a38bcb884e 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -1724,7 +1724,7 @@
"our-webhook-link": "Bạn có thể tìm thấy webhook do Bytebase tạo tại {webhookLink}.",
"branch-observe-file-change": "Nhánh nơi Bytebase quan sát sự thay đổi tập tin.",
"base-directory": "Thư mục cơ sở",
- "base-directory-description": "Thư mục gốc nơi Bytebase quan sát sự thay đổi của tập tin. Nếu trống thì nó sẽ quan sát toàn bộ kho lưu trữ.",
+ "base-directory-description": "Thư mục gốc nơi Bytebase quan sát sự thay đổi của tập tin.",
"file-path-template": "Mẫu đường dẫn tệp",
"file-path-template-description": "Bytebase chỉ quan sát tên đường dẫn tệp khớp với mẫu mẫu liên quan đến thư mục cơ sở.",
"file-path-example-schema-migration": "Ví dụ về đường dẫn tệp cho kiểu di chuyển lược đồ",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index a40d401850..47d39879d9 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1724,7 +1724,7 @@
"our-webhook-link": "Bytebase 创建的 webhook 可以在 {webhookLink} 中找到。",
"branch-observe-file-change": "Bytebase 跟踪文件变更的分支。",
"base-directory": "根目录",
- "base-directory-description": "Bytebase 跟踪文件变更的根目录。如果为空,则他会跟踪整个仓库。",
+ "base-directory-description": "Bytebase 跟踪文件变更的根目录。",
"file-path-template": "文件路径模版",
"file-path-template-description": "Bytebase 仅会跟踪那些文件路径匹配模版 (相对于指定根目录)的文件。",
"file-path-example-schema-migration": "针对 schema 变更类型的文件路径样例",
diff --git a/frontend/src/views/sql-editor/EditorPanel/EditorPanel.vue b/frontend/src/views/sql-editor/EditorPanel/EditorPanel.vue
index da37d202ee..ba717c05f9 100644
--- a/frontend/src/views/sql-editor/EditorPanel/EditorPanel.vue
+++ b/frontend/src/views/sql-editor/EditorPanel/EditorPanel.vue
@@ -4,10 +4,7 @@
<template v-if="!tab || tab.editMode === 'SQL-EDITOR'">
<EditorAction @execute="handleExecute" />
-
- <ConnectionHolder v-if="!tab" />
-
- <template v-else>
+ <template v-if="tab">
<Suspense>
<SQLEditor @execute="handleExecute" />
<template #fallback>
@@ -47,7 +44,6 @@ import {
ConnectionPathBar,
ExecutingHintModal,
SaveSheetModal,
- ConnectionHolder,
} from "../EditorCommon";
import { useSQLEditorContext } from "../context";