Skip to content

[Canvas][Data source] Use a text editor input for the ES SQL data source #40907

@ryankeairns

Description

@ryankeairns

Currently, the Elasticsearch SQL data source presents users with a plain textarea input to write their query. As an improvement, we could present a text editor style UI that is more familiar to developers and analysts with query writing experience.

Additionally, we could later provide syntax highlighting, validation, hints, etc., that come with the code editor. More specifically, EUI has a Code editor component that will begin using the Monaco Editor (instead of Ace) which offers such features: https://microsoft.github.io/monaco-editor/ . You can track the EUI progress here: elastic/eui#499

Long story short, once the EUI Code editor switches to using Monaco, we should use it for our ES SQL data source input.

Metadata

Metadata

Assignees

Labels

Feature:CanvasTeam:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//designenhancementNew value added to drive a business resultimpact:mediumAddressing this issue will have a medium level of impact on the quality/strength of our product.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions