fix(sidebar): keep connection tooltip open while copying

This commit is contained in:
James Leong
2026-08-06 12:13:56 +08:00
committed by GitHub
parent 0f319edca9
commit b5ba730404
2 changed files with 59 additions and 1 deletions
+58
View File
@@ -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
@@ -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"