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

Do not store large arrays in session storage #7

Open
BearBearCodes opened this issue May 13, 2022 · 0 comments
Open

Do not store large arrays in session storage #7

BearBearCodes opened this issue May 13, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@BearBearCodes
Copy link
Member

BearBearCodes commented May 13, 2022

Related to issue #2, the GUI should not be storing large arrays (i.e., passband response curves, spectra, 2D heatmaps) in the browser's session storage.

Instead, create state variables for each of these data. When the server returns the requested data, store the data in these variables instead. To ensure they persist after a page reload (and more generally, between sessions and browsers), we can check to see if the server has stored these data already and load them into their respective variables upon the initial page load (also see issue #6).

@BearBearCodes BearBearCodes added the enhancement New feature or request label May 13, 2022
@BearBearCodes BearBearCodes added this to the v1.1.0 milestone May 13, 2022
@BearBearCodes BearBearCodes removed this from the v1.1.0 milestone Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant