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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(plugins): show plugin context-menu entries in connection sidebar
ccyylhj48d0ebc90e5d
diff --git a/apps/desktop/src/components/sidebar/SidebarTreeRuntimeHost.vue b/apps/desktop/src/components/sidebar/SidebarTreeRuntimeHost.vueindex 806656269e..894ab3bbe6 100644--- a/apps/desktop/src/components/sidebar/SidebarTreeRuntimeHost.vue+++ b/apps/desktop/src/components/sidebar/SidebarTreeRuntimeHost.vue@@ -5598,6 +5598,11 @@ function buildConnectionSidebarMenu(context: SidebarMenuFactoryContext): booleanshortcut: shortcutDelete,variant: "destructive" as const,});+ // Plugin-contributed entries must be appended before this branch returns.+ // treeItemMenuItems() stops at the first factory that reports the node as+ // handled, so a call placed after the factory loop never runs for a+ // connection node.+ appendPluginConnectionMenuItems(items, node);return true;}@@ -6481,8 +6486,6 @@ function treeItemMenuItems(): ContextMenuItem[] {items.push({ label: t("contextMenu.copyName"), action: copyName, icon: Copy, shortcut: shortcutCopyName.value });}- appendPluginConnectionMenuItems(items, node);-return items;}