Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save the settings on the generator page #23

Closed
izzy opened this issue Jul 9, 2022 · 4 comments
Closed

Save the settings on the generator page #23

izzy opened this issue Jul 9, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@izzy
Copy link
Owner

izzy commented Jul 9, 2022

I see two options

  • via localstorage(when available)
  • Load settings via URL
@izzy izzy added the enhancement New feature or request label Jul 9, 2022
@lodenrogue
Copy link
Contributor

You could also consider loading/downloading a settings file. Maybe in JSON.

@izzy
Copy link
Owner Author

izzy commented Jul 11, 2022

Not a bad idea, but I think we kinda do have a standardised export format already(the URL we give the user) - don't you think that's already a very copy/pasteable format for settings?

Heck, for loading it would probably be relatively easy to just have a text field to paste a URL into, strip the part up until the ? and load the rest of it into the form, right?

@lodenrogue
Copy link
Contributor

Yeah that could work. There's some trickiness in parsing out URLs but should be fine for now.

@izzy
Copy link
Owner Author

izzy commented Jul 16, 2022

Reminder for myself: This, but also a conversion for v0.1.x to v0.2.x before the code for #24 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants