mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
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 |
||
---|---|---|
.. | ||
accessibility | ||
api_integration | ||
common | ||
examples | ||
functional | ||
harden | ||
interpreter_functional | ||
plugin_functional | ||
scripts | ||
server_integration | ||
typings | ||
ui_capabilities/newsfeed_err | ||
visual_regression | ||
mocha_decorations.d.ts | ||
tsconfig.json |