[Embeddable Rebuild] Make HasSupportedTriggers
optional for drilldown actions
#202054
Labels
Feature:Dashboard
Dashboard related features
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
project:embeddableRebuild
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Describe the feature:
Currently, we require
supportedTriggers()
to be defined in both the create and edit drilldown actions in order for them to be compatible. This is overkill IMO, because it's possible for drilldowns to only be supported via the context menu, which is already provided as a default:kibana/x-pack/plugins/dashboard_enhanced/public/services/drilldowns/actions/flyout_create_drilldown/flyout_create_drilldown.tsx
Lines 116 to 119 in e3027cf
Because it's required, embeddables that don't need other supported triggers are forced to return an empty array in order to have context menu drilldowns. See #201870 (comment) for more context.
The text was updated successfully, but these errors were encountered: