gloomycompanion icon indicating copy to clipboard operation
gloomycompanion copied to clipboard

Save state between sessions

Open johreh opened this issue 7 years ago • 3 comments

App forgets deck setup between sessions. Need to add offline storage for saving the state of the app between uses.

johreh avatar Mar 19 '17 15:03 johreh

A hundred times this! :) Are you working on it, then? I was going to pause after entering stats and see if I could get a quick-and-dirty fix done because my little memory-starved phone likes to drive me crazy reloading the page.

mwinckler avatar Mar 21 '17 03:03 mwinckler

@johreh There are plenty of options available. For a more complex version:

https://github.com/localForage/localForage

or a more simple library:

https://github.com/marcuswestin/store.js

I noticed that you stayed away from frameworks or libraries perse, was that a design decision?

darthmolen avatar Apr 20 '18 13:04 darthmolen

Thanks for the links @darthmolen, though I unfortunately don't have the time to put into this project anymore. Most of the development is done by contributors and @GinoGalotti is handling the day-to-day stuff.

It was more a case of circumstances rather than a conscious decision to not use frameworks. I'm not really a web developer and as such I had no existing familiarity with any frameworks and since I originally imagined this to be somewhat basic I stuck with what I knew, which was javascript & html, instead of spending time researching options.

johreh avatar Apr 25 '18 19:04 johreh