diff --git a/apps/desktop/src/components/layout/EditorToolbar.vue b/apps/desktop/src/components/layout/EditorToolbar.vue index 5e8c3282cd..3ee3d38c2b 100644 --- a/apps/desktop/src/components/layout/EditorToolbar.vue +++ b/apps/desktop/src/components/layout/EditorToolbar.vue @@ -3,7 +3,6 @@ import { computed, ref, watch, watchEffect } from "vue"; import { useI18n } from "vue-i18n"; import { Play, Loader2, Square, Database, Check, Table2, AlignLeft, GitBranch, Save, FolderOpen, Layers, X, Shield, Upload } from "@lucide/vue"; import { Button } from "@/components/ui/button"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { SearchableSelect } from "@/components/ui/searchable-select"; import { Tooltip, TooltipTrigger, TooltipContent } from "@/components/ui/tooltip"; import TruncatedTextTooltip from "@/components/ui/TruncatedTextTooltip.vue"; @@ -312,27 +311,30 @@ function connectionById(connectionId: string): ConnectionConfig | undefined {
- - + + +
diff --git a/apps/desktop/src/components/objects/ObjectBrowser.vue b/apps/desktop/src/components/objects/ObjectBrowser.vue index e83753b668..ec5995564b 100644 --- a/apps/desktop/src/components/objects/ObjectBrowser.vue +++ b/apps/desktop/src/components/objects/ObjectBrowser.vue @@ -41,7 +41,7 @@ import { import { useI18n } from "vue-i18n"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; +import { SearchableSelect } from "@/components/ui/searchable-select"; import CustomContextMenu, { type ContextMenuItem } from "@/components/ui/CustomContextMenu.vue"; import DangerConfirmDialog from "@/components/editor/DangerConfirmDialog.vue"; import ProcedureExecutionDialog from "@/components/objects/ProcedureExecutionDialog.vue"; @@ -1540,14 +1540,21 @@ function getObjectBrowserMenuItems(item: ObjectBrowserRow): ContextMenuItem[] {
- + diff --git a/apps/desktop/src/i18n/locales/en.ts b/apps/desktop/src/i18n/locales/en.ts index 83d39e1458..95b40e5afa 100644 --- a/apps/desktop/src/i18n/locales/en.ts +++ b/apps/desktop/src/i18n/locales/en.ts @@ -404,6 +404,7 @@ export default { selectDatabaseRequired: "Select a database first", searchDatabase: "Search databases...", selectSchema: "Select schema", + searchSchema: "Search schemas...", setDefaultDatabase: "Set Default", defaultDatabase: "Default", clearDatabase: "Clear database", diff --git a/apps/desktop/src/i18n/locales/es.ts b/apps/desktop/src/i18n/locales/es.ts index db50a400c6..72a1bd5f65 100644 --- a/apps/desktop/src/i18n/locales/es.ts +++ b/apps/desktop/src/i18n/locales/es.ts @@ -401,6 +401,7 @@ export default withEnglishFallback({ selectDatabaseRequired: "Selecciona una base de datos primero", searchDatabase: "Buscar bases de datos...", selectSchema: "Seleccionar esquema", + searchSchema: "Buscar esquemas...", setDefaultDatabase: "Establecer como predeterminada", defaultDatabase: "Predeterminada", clearDatabase: "Limpiar base de datos", diff --git a/apps/desktop/src/i18n/locales/it.ts b/apps/desktop/src/i18n/locales/it.ts index ad76ea7596..341040abbd 100644 --- a/apps/desktop/src/i18n/locales/it.ts +++ b/apps/desktop/src/i18n/locales/it.ts @@ -405,6 +405,7 @@ export default withEnglishFallback({ selectDatabaseRequired: "Seleziona prima un database", searchDatabase: "Cerca database...", selectSchema: "Seleziona schema", + searchSchema: "Cerca schemi...", setDefaultDatabase: "Imposta Predefinito", defaultDatabase: "Predefinito", clearDatabase: "Cancella database", diff --git a/apps/desktop/src/i18n/locales/ja.ts b/apps/desktop/src/i18n/locales/ja.ts index 4091d7b50a..19c8a5e5e0 100644 --- a/apps/desktop/src/i18n/locales/ja.ts +++ b/apps/desktop/src/i18n/locales/ja.ts @@ -399,6 +399,7 @@ export default withEnglishFallback({ selectDatabase: "データベースを選択", searchDatabase: "データベースを検索...", selectSchema: "スキーマを選択", + searchSchema: "スキーマを検索...", setDefaultDatabase: "デフォルトに設定", defaultDatabase: "デフォルト", clearDatabase: "データベースをクリア", diff --git a/apps/desktop/src/i18n/locales/pt-BR.ts b/apps/desktop/src/i18n/locales/pt-BR.ts index d9c503aadd..faec4df69c 100644 --- a/apps/desktop/src/i18n/locales/pt-BR.ts +++ b/apps/desktop/src/i18n/locales/pt-BR.ts @@ -413,6 +413,7 @@ export default withEnglishFallback({ selectDatabaseRequired: "Selecione um banco de dados primeiro", searchDatabase: "Pesquisar bancos de dados...", selectSchema: "Selecionar schema", + searchSchema: "Pesquisar schemas...", setDefaultDatabase: "Definir Padrão", defaultDatabase: "Padrão", clearDatabase: "Limpar banco de dados", diff --git a/apps/desktop/src/i18n/locales/zh-CN.ts b/apps/desktop/src/i18n/locales/zh-CN.ts index 768984acd8..94bac0984c 100644 --- a/apps/desktop/src/i18n/locales/zh-CN.ts +++ b/apps/desktop/src/i18n/locales/zh-CN.ts @@ -407,6 +407,7 @@ export default withEnglishFallback({ selectDatabaseRequired: "请先选择数据库", searchDatabase: "搜索数据库...", selectSchema: "选择模式", + searchSchema: "搜索模式...", setDefaultDatabase: "设为默认", defaultDatabase: "默认库", clearDatabase: "清除数据库选择", diff --git a/apps/desktop/src/i18n/locales/zh-TW.ts b/apps/desktop/src/i18n/locales/zh-TW.ts index 7a5295b8d4..23272542db 100644 --- a/apps/desktop/src/i18n/locales/zh-TW.ts +++ b/apps/desktop/src/i18n/locales/zh-TW.ts @@ -401,6 +401,7 @@ export default withEnglishFallback({ selectDatabaseRequired: "請先選擇資料庫", searchDatabase: "搜尋資料庫……", selectSchema: "選擇 Schema", + searchSchema: "搜尋 Schema...", setDefaultDatabase: "設為預設", defaultDatabase: "預設資料庫", clearDatabase: "清除資料庫",