Open rlzijdeman opened 7 years ago
The data was, untill now, never saved - all your work would be gone in case of a crash, reload or quitting the browser.
From now on the data is saved in a localStorage variable every time you ruminate to the right or the left.
Saving data between button clicks is imho not a very good idea. When editing json by hand this would require saving the data and rebuilding the form on every keystroke, making the application slow and prone to unwanted behaviour. When editing the form, i could probably save the data and change the json when an input / select changes or a column is added, but then the user might wonder why the json changes before he presses the button, and why would this not be the same when he edits the json. UI-wise not very straightforward.
Please close if you're happy with the localStorage and agree with the latter, @rlzijdeman
Hi,
currently the data entered in the ruminator are only saved, when one of the ruminating buttons is pressed. However, it should be possible to store data inside the browser, so data will be kept save in case of a crash or accidental reload of the page. (This hint comes from @LaurensRietveld, if you want to parley) :P