RocketMap icon indicating copy to clipboard operation
RocketMap copied to clipboard

Adds buttons to the menu to export / import the settings

Open Ditto-IV100 opened this issue 8 years ago • 1 comments

Description

Adds buttons to the menu to export / import the settings.

Motivation and Context

Because the settings are stored in "Local Storage", they can be lost. Not anymore! You can export the settings for a later import.

By default, the file will have the following name: "RocketMap_DD-MM-YYYY HH:mm.txt".

How Has This Been Tested?

I use it on my own server.

Screenshots (if appropriate):

export-import

Types of changes

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [x] My code follows the code style of this project.
  • [ ] My change requires a change to the documentation.
  • [ ] I have updated the documentation accordingly.

Ditto-IV100 avatar Mar 20 '18 22:03 Ditto-IV100

@sebastienvercammen The code is now smaller without double quoting of JSON.stringify and i have update my description.

Ditto-IV100 avatar Mar 21 '18 19:03 Ditto-IV100