[Lens] create strategy for embeddable interaction customization #169983
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Background
Consumers of the Lens embeddable (both directly and through wrappers like portable dashboards and unified histogram) often want to customize the user interactions in various parts of the embedded Lens experience.
We currently offer many ways to do this, each added as a need arose. Yet, we continue to have requests for further customizations. This may continue into the foreseeable future.
The ask for this issue is to take a comprehensive look at the situation and define an API that is easy to understand and extend.
Interaction locations
Desired customizations
Efforts to date
extraActions
property to the embeddable component. This allows the consumer to supply a list of custom panel menu actions directly without involving the global UI action registry.onBrushEnd
,onFilter
, andonTableRowClick
all of which allow a consumer to override default chart interactionsactionPredicate
callback with the idea of allowing the consumer to hide/show actions based on consumer-held knowledge. This is not currently in use.syncColors
property to allow for disabling palette syncing across multiple embeddablessyncCursor
property to allow for disabling cursor syncing across multiple embeddablessyncTooltip
property to allow for enabling tooltip syncing across multiple embeddablesdisableTriggers
property which now powers Lens embeddable's non-interactive mode (added to expressions in df43d25)renderMode
property to expressions which can be used to change interactivityThe text was updated successfully, but these errors were encountered: