ts5-channel-image-generator icon indicating copy to clipboard operation
ts5-channel-image-generator copied to clipboard

Make app state persistent between reloads

Open pitkes22 opened this issue 4 years ago • 1 comments

When a user returns to the page, the app should remember the state and should let the user continue the work.

Options, Channels structure, and image URL (if used to load an image) should be persisted in localStorage.

Caching of the uploaded image may be difficult due to the size limitation of the localStorage. One of the solutions I am thinking of is to use ServiceWorker for that but it needs research if this could be really done.

pitkes22 avatar Feb 18 '21 18:02 pitkes22

In #11, I added Options and image URL (not channel structure yet) to localStorage. Since I'm more a Vue.js than a React guy, I'm not sure if my code is 100% efficient, but from my testing it works

BerndSchmecka avatar Oct 22 '22 18:10 BerndSchmecka