kibana/test
Stratoula Kalafateli 0503b820de
[ES|QL] Creates charts from the dashboard (#171973)
## Summary

Closes https://github.com/elastic/kibana/issues/165928

Enables the creation of ES|QL charts from the dashboard.


![esql](86dd5594-d130-4fb7-b495-29ddbaee5e5b)

The implementation is using UIActions which I think is the correct way
to register a new panel action to a dashboard. Lens is responsible to
register the ESQL panel action and owns the code.

### How it works
- A new ES|QL panel has been added to the dashboard toolbar registered
by a ui action
- A new panel is been created with a default esql query `from
<default_dataview_index_pattern> | limit 10`
- This results to a datatable and opens the flyout
- If a user clicks cancel  then the embeddable is being removed

### Checklist

- [ ] 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)
- [ ] [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
- [ ] 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))
- [ ] 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>
2023-12-20 17:19:48 +02:00
..
accessibility [Log Explorer][Discover] Use DocViewsRegistry to add flyout Overview tab (#172364) 2023-12-18 09:59:48 +01:00
analytics async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
api_integration [Advanced Settings] Fix defaultIndex setting's default value (#170865) 2023-12-11 10:01:01 +00:00
common [Console] Add api integration tests for serverless (#172306) 2023-12-05 10:26:51 +01:00
examples [UnifiedFieldList] Hide "Empty fields" section if there are no fields in it (#172956) 2023-12-20 13:12:50 +01:00
functional [ES|QL] Creates charts from the dashboard (#171973) 2023-12-20 17:19:48 +02:00
harden Add test to ensure security related eslint rules are applied (#151434) 2023-02-24 16:48:11 +01:00
health_gateway async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
interactive_setup_api_integration async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
interactive_setup_functional Unskip interactive setup functional tests (#157863) 2023-05-16 09:20:00 -04:00
interpreter_functional async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
node_roles_functional async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
package Adds base implementation of the Kibana Health Gateway. (#141172) 2022-11-07 09:14:42 -07:00
plugin_functional [ObsUX] Add Profiling tab to Asset Details (#171764) 2023-11-27 10:28:32 +01:00
scripts Upgrading cypress to 12.17.4 (#165869) 2023-09-19 10:15:53 -07:00
server_integration Inject initial "not reported" to prevent blocking /api/status (#173371) 2023-12-14 09:31:58 -07:00
ui_capabilities/newsfeed_err [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
tsconfig.json [FTR] Move retryOnStale service to shared location (#173394) 2023-12-18 17:47:10 +00:00