Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically sync settings across devices/browsers #1999

Open
sfrassanito opened this issue Feb 8, 2024 · 5 comments
Open

Automatically sync settings across devices/browsers #1999

sfrassanito opened this issue Feb 8, 2024 · 5 comments
Assignees
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@sfrassanito
Copy link

PROBLEM:

Ref. #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
@sfrassanito sfrassanito added Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Feb 8, 2024
@josephShokry
Copy link
Contributor

@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

@ImprovedTube
Copy link
Member

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)

@ImprovedTube
Copy link
Member

@josephShokry maybe you saw the Discord link yet (can also get irc & slack any time :D)

@josephShokry
Copy link
Contributor

@ImprovedTube I can't find any link for Discord or any other link to communicate, if there is one please send it to me

@ImprovedTube
Copy link
Member

ImprovedTube commented Feb 10, 2024

🤫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🤔)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
None yet
Development

No branches or pull requests

3 participants