kibana/examples
Gidi Meir Morris 8fd317c55a
[Alerting] Adds navigation by consumer and alert type to alerting (#58997)
Adds Navigation APIs to Alerting.

Parts to this PR:

Adds a client side (Public) plugin to Alerting, including two APIs: registerNavigation & registerDefaultNavigation. These allow a plugin to register navigation handlers for any alerts which it is the consumer of- one for specific AlertTypes and one for a default handler for all AlertTypes created by the plugin.
The Alert Details page now uses these navigation handlers for the View In App button. If there's an AlertType specific handler it uses that, otherwise it uses a default one and if the consumer has not registered a handler - it remains disabled.
A generic Alerting Example plugin that demonstrates usage of these APIs including two AlertTypes - one that always fires, and another that checks how many people are in Outer Space and allows you to trigger based on that. 😉 To enable the plugin run yarn start --ssl --run-examples
2020-03-19 09:49:05 +00:00
..
alerting_example [Alerting] Adds navigation by consumer and alert type to alerting (#58997) 2020-03-19 09:49:05 +00:00
bfetch_explorer
demo_search
embeddable_examples Embeddable API cleanup (#60207) 2020-03-16 15:37:42 -04:00
embeddable_explorer Embeddable API cleanup (#60207) 2020-03-16 15:37:42 -04:00
search_explorer Delete legacy search endpoint (#59341) 2020-03-05 11:49:28 +02:00
state_containers_examples
ui_action_examples update typescript version in all packages to avoid warnings (#59787) 2020-03-10 11:37:02 -07:00
ui_actions_explorer update typescript version in all packages to avoid warnings (#59787) 2020-03-10 11:37:02 -07:00
url_generators_examples update typescript version in all packages to avoid warnings (#59787) 2020-03-10 11:37:02 -07:00
url_generators_explorer update typescript version in all packages to avoid warnings (#59787) 2020-03-10 11:37:02 -07:00
README.md

Example plugins

This folder contains example plugins. To run the plugins in this folder, use the --run-examples flag, via

yarn start --run-examples