kibana/test
Anton Dosov 3064c6eceb
Improve state sync error handling (#74264)
Fixes #71461 regression since 7.7

New state syncing utils didn't properly handle errors,
Errors happening during URL parsing or writing wasn't handled, so state syncing could stop or in worth case blow out. (see #71461)

There are not much scenarios where missing proper error handling could really impact users, except the one described in #71461:

Kibana users state:storeInSessionStorage
Users often intuitively share hashed dashboard urls directly
When someone opens those urls - there is a blank screen with warning
In 7.6 - dashboard would still load with default state.
Since 7.7 these still could be achieved by removing query params for URL, but it is not obvious for regular users.

This PR makes sure that behaviour is similar to one we had before 7.7.


Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-06 15:34:32 +02:00
..
accessibility Removing flaky axe rule (#69418) 2020-06-17 13:00:52 -05:00
api_integration [KP] Expose new es client (#73651) 2020-07-30 19:12:37 +02:00
common Remove ca cert path for cloud testing (#73317) 2020-07-27 15:10:33 -06:00
examples Routing example plugin (#69581) 2020-07-15 12:44:42 -04:00
functional Improve state sync error handling (#74264) 2020-08-06 15:34:32 +02:00
harden chore(NA): upgrade to lodash@4 (#69868) 2020-07-03 01:30:13 +01:00
interpreter_functional Upgrade EUI to v26.3.1 (#70243) 2020-07-09 19:51:45 -07:00
new_visualize_flow [Dashboard] Add visualization by value to dashboard (#69898) 2020-06-30 12:38:12 +01:00
plugin_functional Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
scripts [CI] Fix xpack kibana build dir in xpack visual regression script 2020-08-04 15:27:04 -04:00
server_integration apply prettier styles 2020-05-22 09:08:58 +02:00
typings Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
ui_capabilities/newsfeed_err apply prettier styles 2020-05-22 09:08:58 +02:00
visual_regression chore(NA): upgrade to lodash@4 (#69868) 2020-07-03 01:30:13 +01:00
mocha_decorations.d.ts Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
tsconfig.json chore(NA): upgrade to lodash@4 (#69868) 2020-07-03 01:30:13 +01:00