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

LocalStorage is never cleared #491

Open
Zensho opened this issue Jun 16, 2022 · 0 comments
Open

LocalStorage is never cleared #491

Zensho opened this issue Jun 16, 2022 · 0 comments
Labels
bug data management related to storage and transportation of trees and treebanks

Comments

@Zensho
Copy link

Zensho commented Jun 16, 2022

Currently when running in static file mode, the program saves a lot of information in LocalStorage, but never makes any attempt to clear it. This results in a bloated LocalStorage when using the same url and affects opening/executing speed of the program.

I think this might be because the undo-manager is creating a lot of information, and also because the getTreebankId() method which is supposed to access and clean up LocalStorage entries is not working as intended, leading to the program not keeping the corpus on page refresh (#339) and also not clearing the LocalStorage at all.

@jonorthwash jonorthwash added data management related to storage and transportation of trees and treebanks bug labels Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug data management related to storage and transportation of trees and treebanks
Projects
None yet
Development

No branches or pull requests

2 participants