* [GH-314] Export native app user settings on change
This switches from exporting the native app user settings on window close to exporting
on settings change. This way the settings export remains independent of native application
life-cycle events.
This is a stop-gap towards enabling settings export on the native Linux app. The latter
does not have an easy way to catch window close events.
Relates to: #314
* Disable no-shadow rule to prevent false-positive
* Verify allowed localStorage keys
* Fix import order/spacing
* Treat JSON parsing errors as failed import
* Read known keys from the correct type 🤦
* Extend logging with imported keys and always include _current_ user settings
* Fixing eslint
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
* add user setting for preferred date format
* set date format value to local storage
* use user preferred date format to display dates
* use object destructuring
* fix tests and lint
* [GH-314] Persist and reapply users settings in mac app
Relates to: #314
* Inject settings blob at document start, push base64 conversion into TS, use proper quotes
* Remove whitespace
* Rename base64 to blob for consistency