kibana/docs
Stratoula Kalafateli 5860259222
[ES|QL] Render a Discover-like table in the assistant instead of a Lens chart (#184106)
## Summary

This PR does 2 things:

- Creates a new plugin that is a wrapper of the unified datatable and is
only for rendering as a table ES|QL results. The UnifiedDatatable
package is good but the consumers need to know all the properties to
understand how to use it and the necessity of displaying in a table the
results of an ES|QL query comes a lot lately. This plugin has only 3
required properties (rows, columns, query) which make it very easy for
the consumers to use it. It also integrates the Row Viewer flyout

- It changes the implementation of the obs ai assistant to render a
Discover like table instead of a Lens table. The Discover-like table is
much better on rendering a table with thousands of columns and is going
to be much more helpful for our users.

The same plugin can be used later for the inline ediitng flyout too in a
dashboard if we want to also display the results of an ES|QL query.

Some screenshots of the new possibilities in the assistant:

- I can see the results of an ES|QL query in a visualization


![meow](27f77ca3-633b-45f2-b935-42c62c184a04)

- I can render my results as a Document view

<img width="880" alt="image"
src="e8034e10-325d-4d9e-b8a5-34d01b0dbd9d">

<img width="1095" alt="image"
src="c8236e65-96aa-4fcb-b7c3-835e2a5665bd">

<img width="955" alt="image"
src="78b1d664-6863-42bf-a337-659143b7683d">


### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-05 20:20:20 +02:00
..
api Update the docs to clarify the ID of the private location created (#184818) 2024-06-05 14:36:03 +01:00
apm [DOCS] Update Observability docs to fix problems found during testing (#175636) 2024-01-29 11:05:21 -08:00
canvas Removes duplicate images (#173097) 2023-12-11 11:36:25 -08:00
concepts [DOCS] Update ESQL docs (#183617) 2024-05-17 14:50:05 +02:00
dev-tools Sort out objectization in variable substitution (#162382) 2023-07-27 09:30:52 +09:00
developer [ES|QL] Render a Discover-like table in the assistant instead of a Lens chart (#184106) 2024-06-05 20:20:20 +02:00
development/plugins/expressions/public Remove old doc generation system for core APIs (#134313) 2022-06-21 17:43:17 +02:00
discover [DOCS] Update ESQL docs (#183617) 2024-05-17 14:50:05 +02:00
fleet [DOCS] Fleet managed content (#178380) 2024-03-25 22:14:29 +00:00
getting-started [DOCS] Updates the quick start guide (#163165) 2023-08-04 15:55:25 +02:00
management Updates the docs with the advanced setting option for enabling Uptime (#183613) 2024-06-05 11:59:54 +01:00
maps [Docs][Chore] Fix asset tracking tutorial from 8.12 improvements (#176061) 2024-02-02 05:22:55 -07:00
migration [DOCS] Remove breaking changes tags (#162928) 2023-08-02 08:27:22 -04:00
observability
osquery [DOCS] Documents Osquery Timeout setting (#174595) 2024-01-17 15:29:23 +00:00
playground [DOCS] Add note to playground context: one field only currently (#184039) 2024-05-22 19:24:58 +02:00
settings Use Data Stream for Reporting storage (#176022) 2024-05-21 10:11:45 -07:00
setup Add http2 support for Kibana server (#183465) 2024-06-03 09:34:13 +02:00
siem [DOCS] Elastic Sec Overview (Fixing Image) (#104529) 2021-07-07 09:58:09 -04:00
spaces Removing docs about multi-tenancy (#143698) 2022-10-24 16:01:43 -04:00
user [DOCS] Add Elasticsearch query rule action variables and data types (#183691) 2024-06-04 18:54:14 -07:00
accessibility.asciidoc
action-type-template.asciidoc [DOCS] Add preconfigured AWS Bedrock connector (#168663) 2023-10-16 08:23:12 -07:00
CHANGELOG.asciidoc [DOCS] Adds the 8.14.0 release notes (#183914) 2024-05-22 16:08:44 +01:00
gs-index.asciidoc [DOCS] Remove or move book-scoped attributes (#155210) 2023-04-20 09:12:09 -07:00
index.asciidoc [Docs] remove Kibana book-scoped variables (#178676) 2024-03-14 11:53:33 -04:00
index.x.asciidoc
landing-page.asciidoc [DOCS] Fix welcome-to-elastic link (#166357) 2023-09-14 06:08:35 -04:00
limitations.asciidoc [DOCS] Reallocates limitations to point-of-use (#79582) 2020-11-19 10:49:27 -06:00
migration.asciidoc
redirects.asciidoc [DOCS] Add Playground docs (#182692) 2024-05-08 17:29:17 +01:00
rule-type-template.asciidoc [DOCS] Create and manage rule action frequencies (#150957) 2023-02-23 13:16:46 -08:00
template.asciidoc [DOCS] Remove snapshot and restore docs (#114836) 2021-11-16 16:59:24 -05:00