kibana/x-pack/plugins/monitoring/public
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
..
alerts Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
angular Improve state sync error handling (#74264) 2020-08-06 15:34:32 +02:00
components [Monitoring] Ensure setup mode works on cloud but only for alerts (#73127) 2020-08-04 13:32:21 -04:00
directives [Monitoring] Ensure setup mode works on cloud but only for alerts (#73127) 2020-08-04 13:32:21 -04:00
icons [Monitoring] NP Migration complete client cutover (#62908) 2020-04-30 15:59:35 -04:00
lib Update @typescript-eslint to ensure compatibility with TypeScript v3.9 (#74091) 2020-08-05 17:32:19 +02:00
services [Monitoring] "Internal Monitoring" deprecation warning (#72020) 2020-07-27 11:10:25 -04:00
views [Monitoring] Ensure setup mode works on cloud but only for alerts (#73127) 2020-08-04 13:32:21 -04:00
index.scss [Monitoring] SASS modularization (#68726) 2020-06-11 13:36:47 -07:00
index.ts [Monitoring] NP Migration complete client cutover (#62908) 2020-04-30 15:59:35 -04:00
jest.helpers.ts apply prettier styles 2020-05-22 09:08:58 +02:00
legacy_shims.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
plugin.ts Migrate timepicker:timeDefaults ui setting to the data plugin. (#73750) 2020-08-03 15:43:34 -06:00
types.ts [Monitoring] Out of the box alerting (#68805) 2020-07-14 17:50:22 -04:00
url_state.ts Improve state sync error handling (#74264) 2020-08-06 15:34:32 +02:00