youtube
youtube copied to clipboard
Automatically sync settings across devices/browsers
⚬ PROBLEM:
Ref. https://github.com/code-charity/youtube/issues/1972 a user can now sync the settings in a remote location. When new settings are saved from one instance of the extension, the user needs to manually apply them to all other instances (e.g. by pulling them from the remote storage).
⚬ SOLUTION:
The extension can have an option to periodically (e.g. once a day) check the remote storage and if the remote last push/save date is more recent than the local date, then it can pull the settings automatically.
⚬ ALTERNATIVES:
⚬ RELEVANCE / SCOPE:
⚬ "SIDE EFFECTS":
If the user changes the settings in more than one instance after the last push, then there might be a sync mismatch across multiple instances. This can be easily resolved e.g. by warning the user that by enabling automated sync the local settings will be replaced with the remote ones (if they exist). If they don't exist, then the extension might make an initial push to set a baseline date.
There might be other use cases to handle such as behavior when enabling/disabling sync in a certain instance.
⚬ CONTEXT: // Thank you!
SHORT Table | (Summary) |
---|---|
Problem | |
Solution | |
Alternatives | |
Scope | |
Side effects | |
Context |
@ImprovedTube if it is ok assign it to me and I want to ask if there is a faster way to contact you instead email
https://github.com/search?q=repo%3Acode-charity%2Fyoutube%20chrome.storage&type=code
According to google's documentation, chrome.storage.local chrome.storage.sync are interchangeable /sync will be local when offline, synced when online and logged in.
(and as said in #1972: we should also eventually consider the frequency of activation/deactivation/usage of each feature in)
@josephShokry maybe you saw the Discord link yet (can also get irc & slack any time :D)
@ImprovedTube I can't find any link for Discord or any other link to communicate, if there is one please send it to me
🤫hidden behind the duck here https://github.com/code-charity/youtube/releases/tag/v4.338 @josephShokry (and recently shown to all users: 1 2 )
thanks
the next most efficient thing we could do might be one or all of these #2001 #1963 #1233 (=unfortunately yet it often is "just maintenance", but we can/could predict some YouTube changes🤔)