altair-viz / jupyterlab_voyager

JupyterLab extension visualize data with Voyager
BSD 3-Clause "New" or "Revised" License
298 stars 35 forks source link

Todo: Save Voyager state in widget, so that when window is reloaded it will preserve what you have selected. #80

Open Zireael opened 4 years ago

Zireael commented 4 years ago

Hi, for your Todo:

have a look at https://github.com/localForage/localForage You could store your entire application state in browser local storage. Localforage is nice because it provides graceful degradation depending on what storage options user's browser supports.