-
Notifications
You must be signed in to change notification settings - Fork 124
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
Sync worker: kickoff #1056
base: master
Are you sure you want to change the base?
Sync worker: kickoff #1056
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3a6e835 - Browse repository at this point
Copy the full SHA 3a6e835View commit details
Commits on Mar 8, 2023
-
Load features in platform init instead of main
So that features are available through the Platform. I think logically it makes sense to have the Platform load the features, as where features are coming from depends on the Platform. On Web they come from localStorage, on other platforms they might come from elsewhere. This will allow us to inject the FeatureSet into a SyncFactory class in next commits.
Configuration menu - View commit details
-
Copy full SHA for ced4d25 - Browse repository at this point
Copy the full SHA ced4d25View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb5a4e2 - Browse repository at this point
Copy the full SHA fb5a4e2View commit details -
When sync is running in a worker, the start() method will need to be async, as we will need to send messages to the worker to start the sync.
Configuration menu - View commit details
-
Copy full SHA for fb7d4e0 - Browse repository at this point
Copy the full SHA fb7d4e0View commit details
Commits on Mar 9, 2023
-
Use a SyncFactory to make instances of Sync
I think it makes sense to not have the logic of whether sync runs in a worker in Client, as that is platform-specific, so that logic should not be in the matrix layer.
Configuration menu - View commit details
-
Copy full SHA for 6c78eef - Browse repository at this point
Copy the full SHA 6c78eefView commit details -
Configuration menu - View commit details
-
Copy full SHA for da09121 - Browse repository at this point
Copy the full SHA da09121View commit details -
Return a SyncProxy when feature flag is enabled
... and the browser supports SharedWorkers.
Configuration menu - View commit details
-
Copy full SHA for 5c6343c - Browse repository at this point
Copy the full SHA 5c6343cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7074984 - Browse repository at this point
Copy the full SHA 7074984View commit details -
Don't precache sync worker in service worker
Without this the build fails.
Configuration menu - View commit details
-
Copy full SHA for 952eccd - Browse repository at this point
Copy the full SHA 952eccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67153dd - Browse repository at this point
Copy the full SHA 67153ddView commit details -
Disable typescript checks on the sync worker
Will address this in a follow-up PR as it's not trivial to fix.
Configuration menu - View commit details
-
Copy full SHA for 9a2674a - Browse repository at this point
Copy the full SHA 9a2674aView commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 721543a - Browse repository at this point
Copy the full SHA 721543aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b64cd5 - Browse repository at this point
Copy the full SHA 2b64cd5View commit details