elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.62k stars 8.22k forks source link

[ES|QL] Add show table shortcut to editor #192131

Open thomasneirynck opened 2 months ago

thomasneirynck commented 2 months ago

Describe the feature:

The portable ES|QL editor has some sort of shortcut that will show the results of the query as a table. e.g. as a slide-out.

Clients can opt-in whether this shortcut needs to be included or not (ie. not every place where the editor is embedded would require this).

Describe a specific use case for the feature:

The ES|QL editor already can be embedded in many places. To avoid each client to have to develop a way to render results as a table, the ES|QL-editor can offer this functionality out-of-the-box.

This would particularly be helpful for clients where the table-view is not the most important part of the editing experience, but where the user could benefit from some quick visual feedback.

An example of a client for where this would be useful is the editor in Maps. The preview of the results on the map is most important, but it would nevertheless be convenient to see the results as a table as well.

elasticmachine commented 2 months ago

Pinging @elastic/kibana-esql (Team:ESQL)

stratoula commented 2 months ago

@thomasneirynck can you elaborate? How are you expecting this to be part of the editor?