kibana/examples/state_containers_examples
Anton Dosov 2b4a9fd7d7
[State Management] State syncing helpers for query service I (#56128)
Before this pr:

Discover, Visualise and Dashboard in setup phase create own state containers which watch for pinned filters, time and refresh interval changes. This watching and state comparisons happen for each plugin separately and not only when a specific app is mounted. So we ended up with a bunch of similar synchronous work which happens every time query services state changes.

After this pr:

Query service exposes observable to watch for changes (state$). Discover, Visualise and Dashboard use this observable for sub url tracking instead of creating its own.
2020-02-27 12:08:08 +01:00
..
common [State Management] State syncing helpers for query service I (#56128) 2020-02-27 12:08:08 +01:00
public [State Management] State syncing helpers for query service I (#56128) 2020-02-27 12:08:08 +01:00
server [State Management] State syncing helpers for query service I (#56128) 2020-02-27 12:08:08 +01:00
kibana.json [State Management] State syncing helpers for query service I (#56128) 2020-02-27 12:08:08 +01:00
package.json [State Management] State syncing utilities (#53582) 2020-01-10 17:14:33 +03:00
tsconfig.json [State Management] State syncing helpers for query service I (#56128) 2020-02-27 12:08:08 +01:00