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(sidebar): keep connection tooltip open while copying

James Leongb5ba730404a6
diff --git a/.github/workflows/windows-diagnostic.yml b/.github/workflows/windows-diagnostic.yml
new file mode 100644
index 0000000000..2572d1ba6f
--- /dev/null
+++ b/.github/workflows/windows-diagnostic.yml
@@ -0,0 +1,58 @@
+name: Windows Diagnostic Build
+
+on:
+ workflow_dispatch:
+ inputs:
+ target_ref:
+ description: "Branch, tag, or SHA to build"
+ required: true
+ default: "codex/windows-startup-diagnostics"
+
+permissions:
+ contents: read
+
+jobs:
+ build-windows-portable:
+ runs-on: windows-2022
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ ref: ${{ inputs.target_ref }}
+
+ - name: Setup Node.js
+ uses: actions/setup-node@v4
+ with:
+ node-version: 22
+
+ - name: Setup pnpm
+ uses: pnpm/action-setup@v6
+
+ - name: Install dependencies
+ run: pnpm install
+
+ - name: Setup Rust
+ uses: dtolnay/rust-toolchain@stable
+ with:
+ targets: x86_64-pc-windows-msvc
+
+ - name: Build Windows executable
+ env:
+ CXXFLAGS: /std:c++17 /EHsc
+ run: pnpm tauri build --target x86_64-pc-windows-msvc --no-bundle --ci
+
+ - name: Package diagnostic portable ZIP
+ shell: pwsh
+ run: |
+ $portableDir = "diagnostic-portable\DBX-diagnostic-x64"
+ New-Item -ItemType Directory -Force -Path $portableDir | Out-Null
+ Copy-Item "target\x86_64-pc-windows-msvc\release\dbx.exe" (Join-Path $portableDir "DBX.exe") -Force
+ Copy-Item "LICENSE" (Join-Path $portableDir "LICENSE") -Force
+ Copy-Item "README.md" (Join-Path $portableDir "README.md") -Force
+ Set-Content -Path (Join-Path $portableDir "portable.dbx") -Value "" -NoNewline
+ Compress-Archive -Path (Join-Path $portableDir "*") -DestinationPath "DBX-diagnostic-x64-portable.zip" -Force
+
+ - name: Upload diagnostic artifact
+ uses: actions/upload-artifact@v4
+ with:
+ name: DBX-diagnostic-x64-portable
+ path: DBX-diagnostic-x64-portable.zip
diff --git a/apps/desktop/src/components/sidebar/TreeItem.vue b/apps/desktop/src/components/sidebar/TreeItem.vue
index ee222190bf..0bfe9bbce0 100644
--- a/apps/desktop/src/components/sidebar/TreeItem.vue
+++ b/apps/desktop/src/components/sidebar/TreeItem.vue
@@ -1102,7 +1102,7 @@ function onKeydown(event: KeyboardEvent) {
</div>
<div v-else @contextmenu="onTreeItemContextMenu">
- <LightTooltip :text="displayLabel(node)" :disabled="isTooltipDisabled()" side="right" :side-offset="8" :delay="0" :close-delay="0" :surface="detailTooltip ? 'popover' : 'foreground'">
+ <LightTooltip :text="displayLabel(node)" :disabled="isTooltipDisabled()" side="right" :side-offset="8" :delay="0" :close-delay="30" :surface="detailTooltip ? 'popover' : 'foreground'">
<div
ref="rowRef"
class="group flex items-center gap-2 py-1 px-2 cursor-pointer relative outline-none"