You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In numerous places local storage is updated without error handling. When quota is exceeded it may cause the app to break (like here) or if the error is caught by a component at some level it may break the component like below:
What is more, Grafana is inaccessible when local storage is not available:
We do have the app/core/store.ts which could serve as the interface for everything using local storage goes through, with better fallback for when localStorage is unavailable, but unfortuantely not everyone uses this.
Would be great to add better fallback to that class, and enforce it's usage through linting.
What happened:
In numerous places local storage is updated without error handling. When quota is exceeded it may cause the app to break (like here) or if the error is caught by a component at some level it may break the component like below:
What is more, Grafana is inaccessible when local storage is not available:
What you expected to happen:
If local storage is not available or full:
How to reproduce it (as minimally and precisely as possible):
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-local-storage
)Anything else we need to know?:
Environment:
The text was updated successfully, but these errors were encountered: