Persist form entries to localstorage in a better way #14
Labels
No labels
big job
blocked
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
maybe
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ian/new-park-finder#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use jsutils or another framework to persist form entries to localstorageto Persist form entries to localstorage in a better waye.g.
And on startup
Need to adapt both of these to deal with
.prop('checked')not.val()on the checkboxAdapt form entry handling to strip variables out of globals.js, just read the form live when the submit button is clicked. (trim/uppercase the callsign there)
See if localStorageGetOrDefault and the use of JSON.stringify can be streamlined
Startup still needs to handle the localstorage entries not tied to form elements, i.e. lastviewcentre/lastviewzoom and sotaRegionBoundingBoxCache.