-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens][Embeddable] Expose the
parentApi
via the embeddable API (#20…
…2006) ## Summary Fixes #199736 This PR exposes the `parentApi` when it satisfy the `PresentationContainer` type: this allows api consumers (i.e. dashboard actions) to access the full container context for complex evaluation of an action (i.e. are there other panels? what types are they made of? etc...). I've limited it to `PresentationContainer` as this was the original intent of the feature request (and avoids type casting). If it needs to be extended more another follow up can be done.
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters