gloomycompanion
gloomycompanion copied to clipboard
Save state between sessions
App forgets deck setup between sessions. Need to add offline storage for saving the state of the app between uses.
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.
@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?
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.