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

💥Offline update doc conflict #239

Open
AntoLC opened this issue Sep 9, 2024 · 0 comments
Open

💥Offline update doc conflict #239

AntoLC opened this issue Sep 9, 2024 · 0 comments
Labels

Comments

@AntoLC
Copy link
Collaborator

AntoLC commented Sep 9, 2024

Problem

2 users are editing the same doc, 1 is offline, when the offline user get the connection back , he can override the the work of the first user.

Solution ?

Add at least a warning to say that the update is overriding the document. Warning could be on the version ?

Could be nice to have a modal proposing the 2 choices:

  • Override - as it is now, we override the existing doc
  • Or Rebase - we pull the updated doc and merge it with offline updated Doc (see y.js)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant