Skip to content

Make the query editor textarea resizable #323

@jirislav

Description

@jirislav

Is your feature request related to a problem? Please describe.

When dealing with SQL with more than 12 lines, it is a struggle to edit the code within Grafana, as I have to scroll through a very tiny textarea as the default height of the editor is just 240px for some reason.

Describe the solution you'd like

Make the textarea resizable (see e.g. Influx editor).

Bonus points: Remember the preferred height in local storage and have that by default.

Describe alternatives you've considered

Alternative method would be to make it expandable (see e.g. Google BigQuery editor). But that's not very good UX, as you have to switch the context and cannot easily iterate on changes by running queries and immediately changing another line of code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions