Skip to content

Polish: editor and results P3s from the UX review #853

Closed

Description

@EVWorth

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) at src/stores/resultStore.ts:378 and :491. Fix: use e.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-185 and :67-77. Fix: add aria-label="Explain options" and aria-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: buildTab in src/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: add title="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: add aria-pressed={limitEnabled}.
  • Autocomplete stays open after run. After typing SELECT * FROM customers and pressing Ctrl+Enter, the suggestion widget ("customers — Table (shop)") stays open over the editor. Fix: in the execute action, trigger hideSuggestWidget before running.

Part of #783.

Activity

  1. added
    bug
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 29, 2026
    98f19b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions