Open dannycolin opened 4 years ago
Potentially a good idea. Naturally, the saved questions list should probably be kept in the local storage.
Potentially a good idea. Naturally, the saved questions list should probably be kept in the local storage.
There's a storage limit in Sync. However, I wonder if there'd be enough space to Sync the questions ID that have been opened. It shouldn't take a lot of space. Anyway, lets just focus on the preferences for now.
So, I was thinking about this some more and I'm not sure that adding support for Firefox Sync is a good idea.
There are too many things that users may want to customize depending on the device. For example, maybe they don't want every device to be dark mode. Maybe they want to reduce the frequency of the question checks on mobile to reduce data usage. Maybe they want the sidebar on their computer, but not their laptop.
That's just my thoughts on it.
There are too many things that users may want to customize depending on the device. For example, maybe they don't want every device to be dark mode. Maybe they want to reduce the frequency of the question checks on mobile to reduce data usage. Maybe they want the sidebar on their computer, but not their laptop.
Those are good points to consider. Maybe we could add an option to let the users choose if they want to sync or not their preferences across multiple devices.
The goal of this feature is to synchronize the webext preferences with the user FxA.
(See: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/sync)