kibana/examples
Anton Dosov 50cf8a764e
[State Management] ScopedHistory support for state syncing utils (#62761) (#64061)
The needed change is to rely on history as source of truth for location instead of window.location.

btw, This makes possible to test state syncing utils integration using createMemoryHistory()

One issue was discovered after this change:
When switching from context to discover url was incorrect. history.location inside state syncing utils didn't get the last update. This happened, because history instance created in discover wasn't used in context app and when all listeners unsubscribed from it - it stopped receiving location updates. To fix this I just reused one history instance in discover, context and their kbnUrlTracker
2020-04-21 15:56:14 +02:00
..
alerting_example Adding PagerDuty icon to connectors cards (#60805) (#62033) 2020-03-31 15:21:36 -04:00
bfetch_explorer Add plugin start contract to getStartServices return value (#61216) (#61415) 2020-03-26 12:40:56 +01:00
demo_search [Search service] Add async search strategy (#53057) 2020-02-25 16:06:21 -07:00
embeddable_examples [7.x] Refactor SO types to use namespaceType (#63217) (#63745) 2020-04-16 19:11:43 -04:00
embeddable_explorer Add embeddable via saved object example (#61692) (#63613) 2020-04-15 14:12:42 -04:00
search_explorer Add plugin start contract to getStartServices return value (#61216) (#61415) 2020-03-26 12:40:56 +01:00
state_containers_examples [State Management] ScopedHistory support for state syncing utils (#62761) (#64061) 2020-04-21 15:56:14 +02:00
ui_action_examples [7.x] update typescript version in all packages to avoid warni… (#59816) 2020-03-10 13:57:24 -07:00
ui_actions_explorer [7.x] update typescript version in all packages to avoid warni… (#59816) 2020-03-10 13:57:24 -07:00
url_generators_examples [7.x] update typescript version in all packages to avoid warni… (#59816) 2020-03-10 13:57:24 -07:00
url_generators_explorer [7.x] update typescript version in all packages to avoid warni… (#59816) 2020-03-10 13:57:24 -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