factorio-calc icon indicating copy to clipboard operation
factorio-calc copied to clipboard

Persist settings between reloads

Open odegroot opened this issue 7 years ago • 1 comments

Before, each time I returned to the Factorio Calc, I had to re-enter all of my settings.

Now, when I return to the Factorio Calc, I can continue where I left off.

Demo: https://odegroot.github.io/factorio-calc/

Note

I also reformatted a file, for improved readability. This makes it look like I gave it a complete overhaul, when in fact nothing changed. To view a diff with all of these whitespace changes hidden, add ?w=1 to the URL. https://github.com/rubyruy/factorio-calc/pull/49/files?w=1

See also

https://github.com/rubyruy/factorio-calc/issues/16 Preserve search state and form settings in URL so it can be shared This PR does preserve settings, but not in the URL so it does not enable sending a link to someone, so this PR does not resolve that issue.

odegroot avatar Jul 08 '17 13:07 odegroot

Looks good to me!

abrindam avatar Jul 09 '17 06:07 abrindam