kibana/examples/embeddable_examples
Nathan Reese 1bd8c97982
[uiActions] make trigger action registry async (#205512)
Closes https://github.com/elastic/kibana/issues/191642, part of
https://github.com/elastic/kibana/pull/205512

PR makes the following changes to uiActions API.
* Deprecates `registerAction` and `addTriggerAction` and replaces them
with `registerActionAsync` and `addTriggerActionAsync`
* Makes all registry consumption methods async, such as `getAction`,
`getTriggerActions` and `getFrequentlyChangingActionsForTrigger`

PR updates presentation_panel plugin to use `registerActionAsync`. With
actions behind async import, page load bundle size has been reduced by
21.1KB.

<img width="500" alt="Screenshot 2025-01-08 at 2 14 23 PM"
src="https://github.com/user-attachments/assets/34a2cae9-dc5e-429b-bbdb-ffd9dfe1cce3"
/>

Also, async exports are [contained in a single file
`panel_module`](https://github.com/elastic/kibana/issues/206117). This
results in dashboard only loading one `presentationPanel.chunk`.

<img width="500" alt="Screenshot 2025-01-08 at 2 15 02 PM"
src="https://github.com/user-attachments/assets/e083b852-b50d-4fa7-8ebd-e2f56f85e998"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-13 09:57:34 -07:00
..
public [uiActions] make trigger action registry async (#205512) 2025-01-13 09:57:34 -07:00
kibana.jsonc [Embeddable rebuild] Add panel placement registry (#182120) 2024-05-02 06:27:20 -07:00
README.md [docs] Add missing App Arch READMEs. (#82080) 2020-10-29 17:01:33 -06:00
tsconfig.json [Embeddable] EUI Visual Refresh Integration (#204452) 2024-12-19 10:12:09 -08:00

Embeddable examples

This example plugin exists to support the embeddable_explorer app.