Skip to content

fix(sql-workspace): Run on an empty editor does nothing and says nothing #1478

Closed

Description

@ZhuchkaTriplesix

Problem

A new SQL tab shows the hint -- Enter SQL here… / SELECT 1; in grey, which reads as real text. Run (button, F5, Ctrl+Enter) on the empty editor does nothing: no result, no status message, the button stays enabled.

Scope

  • Run, Explain and the other run actions on an empty (or whitespace/comment-only) editor show a status Nothing to run and do not touch the results; or the run actions are disabled while there is nothing to run.
  • Keep the hint, but make it clearly a placeholder (it already is, grey) — no behaviour change for it.
  • Test: empty editor + Run leaves the results as they were and sets the status.

Found while driving a Linux debug build of dev (UX review, Oct 2026).

Activity

  1. added
    bugSomething isn't working
    frontendTheme parser epic label: frontend
    uiUser interface components and widgets
    uxUser experience, keyboard shortcuts and interactions
    P3Low priority / Polish & Enhancements
    on Oct 11, 2026
  2. added a commit that references this issue on Oct 11, 2026
    88e16f1
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

    P3Low priority / Polish & EnhancementsbugSomething isn't workingfrontendTheme parser epic label: frontenduiUser interface components and widgetsuxUser experience, keyboard shortcuts and interactions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions