1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-27 13:48:52 +02:00
focalboard/mac
Johannes Marbach b6d32da68c
[GH-314] Export native app user settings on change (#380)
* [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>
2021-08-15 12:51:19 +02:00
..
Focalboard [GH-314] Export native app user settings on change (#380) 2021-08-15 12:51:19 +02:00
Focalboard.xcodeproj Mac: Update rate button text. 2021-06-15 15:11:24 -07:00
Focalboard.xcworkspace Mac: Product name 2021-01-26 10:32:36 -08:00
FocalboardTests Product name 2021-01-26 11:13:05 -08:00
FocalboardUITests Product name 2021-01-26 11:13:05 -08:00
export.plist Basic Mac App 2020-10-26 12:45:40 -07:00