mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 12:41:39 +00:00
fix(sidebar): keep connection tooltip open while copying
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user