Repository navigation
Conversation
…ry timeout - Error strip: move the label + 'Fix with AI' action to a header row above a full-width message, and wrap the message with overflow-wrap:anywhere instead of break-all (which chopped ordinary words mid-character). - Query history panel: the History/Saved/Charts tabs overflowed the 224px panel and spilled over the editor toolbar. Widen the panel to w-64, tighten tab padding/gap, and clip the tab group as a safety. - Raise the ad-hoc SQL statement timeout 30s -> 60s so heavier scans (e.g. tables with large TOASTed JSON columns like resume_parsing) finish. - Add an actionable hint under statement-timeout errors.
|
The dialog is opened programmatically from Monaco (Cmd+S); bits-ui's default escape-to-close didn't fire reliably through that focus path in the WebKit/Tauri webview. Handle Escape explicitly on the name input.
|
Added a commit: Escape now closes the Save query dialog. It's opened programmatically from Monaco (⌘S), and bits-ui's default escape-to-close wasn't firing through that focus path in the WebKit/Tauri webview — now handled explicitly on the name input. Folded here since it shares |
|
Superseded by combined minor-release PR #36 (same changes, rolled up). Closing to keep a single merge. |
Fixes reported while running heavy queries in the SQL editor.
1. Query timeout on large tables
SELECT * FROM resume_parsingwas cancelled by the 30s ad-hoc statement timeout. Verified via the stroke MCP: that table is only 746 rows but 429 MB — the weight is twojsonbcolumns (resume,response) stored in TOAST, soSELECT *detoasts ~429 MB. Row count isn't the issue (aLIMITwouldn't help — 746 is already tiny).EXECUTE_SQL_TIMEOUT_MSinsrc-tauri/src/db/query.rs) so heavier scans finish.LIMITon wide-column tables.2. Error panel layout (was cramped, words chopped mid-character)
The error strip used
break-all, which split ordinary words ("can/celing", "sta/tement"), and the "Fix with AI" button crowded the text. Now the label + action sit on a header row above a full-width message that wraps withoverflow-wrap:anywhere(breaks only when a token truly can't fit).3. History/Saved/Charts tabs overflowing
The three icon+label tabs + hide button exceeded the 224px (
w-56) panel and spilled over the editor toolbar. Widened the panel tow-64, tightened tab padding/gap, and clipped the tab group as a safety.Files
src-tauri/src/db/query.rs— timeout 30s → 60ssrc/lib/components/SqlConsole.svelte— error panel + timeout hintsrc/lib/components/QueryHistoryPanel.svelte— tab strip fitVerification
Applied live in a running
tauri devsession: frontend HMR updated both components with no compile errors; thequery.rschange triggered a Rust rebuild (14.5s) and the app restarted on the 60s timeout.Separate from #20 (sidebar) and #21 (DML/pane); disjoint files.