Skip to content

Conversation

@dobrovolsky
Copy link

Motivation: Allow users to preserve custom layers and settings (e.g. metric system preferences) when clearing browser data, or to import them on other devices.

@vcoppe
Copy link
Contributor

vcoppe commented Nov 12, 2025

This is something that would be very useful, and that was asked specifically for custom layers in #35.

I've just merged the migration to Svelte 5 and have refactored a lot of things along the way, so there may be a few things to adapt.

In addition, I think some settings may require a special treatment. For instance, maybe it would be nicer to merge custom layers with those already in memory instead of overwriting everything. Extra care must also be taken with all layer selection variables.
Finally, the file order should probably not be exported/imported, but I could also remove it from settings.

Note that when you are adding new strings to the dictionary, you only need to add them to en.json.
Translations are done on Crowdin, and won't be pickup up this way.

@dobrovolsky
Copy link
Author

I have rewritten how export/import works. Please take a look:

  • Changed exporting all settings to a set of explicitly defined keys
  • Merge custom layers with existing ones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants