Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(quick-open): open plugin connections from search

二丫讲梵d78eaaaaf528
diff --git a/apps/desktop/src/App.vue b/apps/desktop/src/App.vue
index edb1b10dbd..6b2e4b6c01 100644
--- a/apps/desktop/src/App.vue
+++ b/apps/desktop/src/App.vue
@@ -3996,6 +3996,15 @@ async function handleQuickOpenSelect(item: any) {
return;
}
+ // Plugin connections have their own destination (a contributed workbench or
+ // filesystem provider). Route them through the same lifecycle used by the
+ // sidebar instead of treating them like database connections and attempting
+ // to load a database tree.
+ if (item.type === "connection" && connectionStore.getConfig(item.connectionId)?.db_type === "plugin") {
+ await openConnectionQuery(item.connectionId);
+ return;
+ }
+
// For all other types, set the active connection
connectionStore.activeConnectionId = item.connectionId;