Skip to content

better DB console tab #894

Description

@eug3nix

DB Console tab with its current UI implementation is not convenient to use.
While DB console is technically functional it does not behave like a "normal" console familiar to DB users.
Mostly because the query is being written within a separate editor and the query output is rendered in the "console" part of the UI.
When users need UI-based workflow they will use Query or Data editor tabs.
When they need a console it must behave like a console (input and output in the same UI element, arrow-based history navigation etc).

Goals:
have terminal output and command editor in the same place: use the xterm.js (or its analog) to handle BOTH, user data input and output
implement alternative way of accessing command history (populate console history from db console tab history records), the user should navigate history records using the up/down arrows; Additionally we may keep the standard history modal for advanced filtering, browsing history etc.

Nice to have:
standard console key combos like ctrl+w, ctrl+e, ctrl+u, ctrl+a, ctrl+r etrc.
autocomplete: can we use the same antlr completion engine for the console?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions