Repository navigation
Closed
Labels
bugSomething isn't working
Description
Severity: P3 (polish)
Small issues found while using the app on the mock backend. Each item lists what happens, the cause and the fix.
- Stop the query toolbar overlapping at small window widths. At 1024×680 on
?mock=connected, "Find", "Replace" and "Format" draw on top of each other ("FindReplaceFormat"). Even at 1366 wide, "Ctrl+Enter / F9" and the connection name wrap onto two lines once a long name such as "Production (read-only)" is selected. Cause:src/components/editor/QueryToolbar.tsx; the button row has noshrink-0/whitespace-nowrapor overflow handling. Fix: keep buttons from shrinking, hide the shortcut hint and button labels (icon only) below a breakpoint, and add an overflow menu. - Give the editor the selected theme's colours. With Nord selected, the editor stays the vs-dark grey; with Solarized Light, it is plain white. The rest of the app follows the palette. Cause:
src/components/editor/SQLEditor.tsx:325picksvs-dark/vsby base only. Fix:monaco.editor.defineThemefrom the active theme's colours (background, foreground, selection, line highlight). - Keep the connection dialog the same height on every tab. Switching General / SSL / SSH Tunnel / Advanced in "New Connection…" makes the dialog jump vertically. Save is greyed out with no hint that Name is required. Cause:
src/components/connection/ConnectionDialog.tsx:68(centred),:103(min-h-[320px]only),:223(canSaveinuseConnectionForm.ts). Fix: fixed body height or top-anchored placement, required-field markers, and a "Name is required" message. - Name the server vendor correctly in the status bar. It always prints "MySQL {version}", so a MariaDB server will read "MySQL 10.11.x-MariaDB". Cause:
src/components/layout/StatusBar.tsx:208. Fix: derive the vendor from the version string. - Show the copy icon next to the status-bar connection. The icon is meant to appear on hover but never does. Cause:
src/components/layout/StatusBar.tsx:190-192usesgroup-hover:opacity-100, but the button has nogroupclass. Fix: addgroupto the button. - Label the title-bar theme button with the current theme. It cycles only Dark → Light → System, and its label ("Theme: Dark — click for Light") ignores a chosen Nord / Solarized / High Contrast / custom theme. Cause:
src/components/layout/FeatureButtons.tsx:18,:59,:124(labels and cycle keyed on the three modes). Fix: label with the current theme's name, and say what the next click picks.
Part of #783.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
EVWorth commentedon Oct 21, 2026
More detail from the editor/results UX review (part of #783):
?mock=connected), the Find, Replace, Format, Schema and Save icons shrink to dots, "Ctrl+Enter / F9" wraps onto two lines, and the connection label wraps to "Production / (read-only)".src/components/editor/QueryToolbar.tsx:124:toolbarBtnClasshas noshrink-0/whitespace-nowrap, and the 12px lucide icons are flex children that can shrink.:150-152: the shortcut-hint span can wrap.:293-301: the connection label has nomin-w-0 truncate.shrink-0 whitespace-nowrapto the buttons and their icons.min-w-0andtruncatethe name, with the full name in atitle.Generated by Claude Code
fix: dialog height, required fields, server vendor
fix: stop the query toolbar overlapping when narrow
fix: give the editor the selected theme's colours