mozillabrasil / sumo_live_helper

Helper Add-on for SUMO forum contributors
https://addons.mozilla.org/firefox/addon/sumo-live-helper-/
Mozilla Public License 2.0
7 stars 8 forks source link

Add support for Firefox Sync #131

Open dannycolin opened 4 years ago

dannycolin commented 4 years ago

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)

WesleyBranton commented 4 years ago

Potentially a good idea. Naturally, the saved questions list should probably be kept in the local storage.

dannycolin commented 4 years ago

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.

WesleyBranton commented 4 years ago

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.

dannycolin commented 4 years ago

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.