elastic / kibana

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

[Lens][Embeddable] Expose `parentApi` on Lens API #199736

Open dej611 opened 2 weeks ago

dej611 commented 2 weeks ago

Describe the feature:

The task is about exposing parentApi on the Lens API as other embeddables are doing already. A possible use case for this request is to check/read the dashboard context when adding a new action to Lens panel (i.e. are there other panels with similar configs/context/filters/etc...? )

A possible extra would be to define this parentApi key prop as mandatory (with undefined possible value) for all embeddables api and align all of them to this new requirement.

elasticmachine commented 2 weeks ago

Pinging @elastic/kibana-visualizations (Team:Visualizations)