Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if local storage needs to be cleared #154

Closed
hofstef opened this issue Aug 15, 2024 · 1 comment
Closed

Detect if local storage needs to be cleared #154

hofstef opened this issue Aug 15, 2024 · 1 comment
Labels
feature concrete new feature or request

Comments

@hofstef
Copy link
Member

hofstef commented Aug 15, 2024

Is your feature request related to a problem? Please describe.
When new versions of Egon are deployed to the egon.io website, the application seems broken to users that have used a previous version or the latest build version. The reason is that some information in the browser's local storage is outdated. Users need to clear their browser's local storage to properly update to a new version. This is documented in the user guide, but users might not be aware of that and think that Egon is broken.

Describe the solution you'd like
On loading Egon, it should check if its versiondiffers from the last used version. If that is the case, the user should be prompted to clear the local storage. A link to the User Guide should be included.

Describe alternatives you've considered
Clearing the local storage is an alternative, but has the disadvantage that the user might loose data. Also, it makes testing the compatibility of versions more difficult for developers.

@hofstef hofstef added the feature concrete new feature or request label Aug 15, 2024
DanielHeckert added a commit that referenced this issue Aug 15, 2024
@hofstef
Copy link
Member Author

hofstef commented Aug 20, 2024

Released with v2.1.0

@hofstef hofstef closed this as completed Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature concrete new feature or request
Projects
None yet
Development

No branches or pull requests

1 participant