Repository navigation
Closed
Labels
bugSomething isn't working
Description
Severity: P3 (polish). All seen on http://localhost:1420/?mock=connected.
- Row-limit banner points to Settings. It says "Results truncated to 1,000 rows by the row limit. Raise it in Settings, or add a LIMIT clause to fetch fewer rows." (after
SELECT * FROM customers), but the control is the LIMIT box in the editor toolbar, and "fetch fewer rows" doesn't help someone who wants more. Cause:src/lib/truncation.ts:22-24. Fix: reword to "Raise the LIMIT in the toolbar, or page with ‹ ›", and make the limit in the banner focus that input. - Doubled error prefix. Errors read "Error: Query error: EXPLAIN supports a single statement…" and "Error: Table 'shop.nope' doesn't exist". Cause:
String(e)atsrc/stores/resultStore.ts:378and:491. Fix: usee.message; the box is already titled "Query Error". - Explain menu. The Explain dropdown does not close on Escape, and its chevron button has no accessible name. Cause:
src/components/editor/QueryToolbar.tsx:179-185and:67-77. Fix: addaria-label="Explain options"andaria-expanded, and close the menu on Escape. - Identical tab titles. Every new query tab is titled "Untitled Query", so two tabs can't be told apart; FR-2.1.3 asks for "Untitled-N". Cause:
buildTabinsrc/stores/editorStore.ts. Fix: number new tabs. - Unlabelled dirty dot. The tab's unsaved marker has no label or tooltip. Cause:
src/components/editor/EditorTabs.tsx:246. Fix: addtitle="Unsaved changes"and screen-reader text. - LIMIT toggle state not exposed. The toggle doesn't expose its on/off state. Cause:
src/components/editor/QueryToolbar.tsx:322. Fix: addaria-pressed={limitEnabled}. - Autocomplete stays open after run. After typing
SELECT * FROM customersand pressing Ctrl+Enter, the suggestion widget ("customers — Table (shop)") stays open over the editor. Fix: in the execute action, triggerhideSuggestWidgetbefore running.
Part of #783.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
fix(editor): editor and results polish from the review