dbx/src-tauri
Caisin 8c0fe3a6e7
Expose forwarded database port for local testing (#803)
Database connection context menus now show a copy action when the connection has enabled transport layers. The action starts or reuses the ordered transport chain, copies the final local forwarding port, and keeps runtime config cached so later disconnect cleanup can stop the created tunnel.

Constraint: Local testing sometimes needs external tools to connect through DBX's generated proxy/tunnel endpoint

Rejected: Copy full host:port endpoint | user specifically asked for the port and existing tunnel host is always localhost

Rejected: Require an active pool before copying | local test workflows may need the tunnel before opening the DBX connection

Confidence: high

Scope-risk: moderate

Tested: pnpm test -- packages/app-tests/connectionTransport.test.ts (ran full app-tests: 862 passed)

Tested: pnpm typecheck

Tested: pnpm exec oxlint --vue-plugin apps/desktop/src/components/sidebar/TreeItem.vue apps/desktop/src/lib/connectionTransport.ts apps/desktop/src/lib/api.ts apps/desktop/src/lib/tauri.ts apps/desktop/src/lib/http.ts

Tested: cargo check -p dbx-core -p dbx-web

Tested: cargo check -p dbx

Tested: cargo fmt --check --all

Co-authored-by: caisin <caisin@caisins-Mac-mini.local>
2026-06-07 01:00:34 +08:00
..
capabilities Revert "feat: support multiple desktop windows" 2026-06-06 00:01:38 +08:00
icons Add configurable black app icons and logo (#564) 2026-05-31 10:15:59 +08:00
src Expose forwarded database port for local testing (#803) 2026-06-07 01:00:34 +08:00
windows/nsis fix: preserve Windows data during upgrades 2026-05-25 16:52:43 +08:00
.gitignore fix: skip macOS framework lookup in dev mode via build.rs 2026-05-07 22:21:13 +08:00
Cargo.lock chore: bump version to 0.4.2 2026-05-06 20:24:13 +08:00
Cargo.toml fix: stabilize custom theme integration 2026-06-06 21:04:19 +08:00
Entitlements.plist fix: support DuckDB extensions in macOS builds 2026-05-27 10:43:20 +08:00
build.rs feat: custom theme system with PostgreSQL PL/pgSQL highlighting fix 2026-06-06 20:59:21 +08:00
tauri.conf.json Revert "feat: support multiple desktop windows" 2026-06-06 00:01:38 +08:00