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

Improve initial sync on sign in - Part 1 #958

Merged
merged 3 commits into from
Jul 9, 2023
Merged

Conversation

GianniCarlo
Copy link
Collaborator

Approach

  • When the user signs in, call new endpoint v1/library/keys to get all synced identifiers, and create an upload task for any local item not present in that array
  • For regular list syncs, if an item is not present, keep a backup of the removed file just in case

Things to be aware of

The backup files will be exposed via Settings → Storage Management → Cloud sync deleted items in the next PR

@GianniCarlo GianniCarlo self-assigned this Jul 9, 2023
@GianniCarlo GianniCarlo merged commit 4209465 into develop Jul 9, 2023
1 check passed
@GianniCarlo GianniCarlo deleted the fix-signin-sync branch July 9, 2023 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant