kibana/x-pack/examples/ui_actions_enhanced_examples
Anton Dosov 50f9a97a41
[Drilldowns] misc improvements & fixes (#75276)
Added support for isCompatible. It is checked during execution.
Pass actionFactory context into createConfig, IsConfigValid
Fix bug that selectedTriggers wasn't reset when switching action factories
Check if license is active in action factories
2020-08-18 17:50:02 +02:00
..
public [Drilldowns] misc improvements & fixes (#75276) 2020-08-18 17:50:02 +02:00
kibana.json [Drilldowns] Trigger picker (#74751) 2020-08-17 14:47:25 +02:00
package.json Bump TypeScript to v3.9 (#67666) 2020-06-11 10:04:09 +02:00
README.md
tsconfig.json

Ui actions enhanced examples

To run this example plugin, use the command yarn start --run-examples.

Drilldown examples

This plugin holds few examples on how to add drilldown types to dashboard.

To play with drilldowns, open any dashboard, click "Edit" to put it in edit mode. Now when opening context menu of dashboard panels you should see "Create drilldown" option.

image

Once you click "Create drilldown" you should be able to see drilldowns added by this sample plugin.

image

dashboard_hello_world_drilldown

dashboard_hello_world_drilldown is the most basic "hello world" example showing how a drilldown can be built, all in one file.

dashboard_to_url_drilldown

dashboard_to_url_drilldown is a good starting point for build a drilldown that navigates somewhere externally.

One can see how middle-click or Ctrl + click behavior could be supported using getHref field.

dashboard_to_discover_drilldown

dashboard_to_discover_drilldown shows how a real-world drilldown could look like.