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

Basic undo functionality #344

Merged
merged 2 commits into from
Aug 31, 2023
Merged

Basic undo functionality #344

merged 2 commits into from
Aug 31, 2023

Conversation

rroohhh
Copy link
Member

@rroohhh rroohhh commented Aug 30, 2023

See commit message

Due to how we are determining when to send changes (using
`getLastLocalChange`), which is triggered whenever the document changes,
if you have two clients that both have a last local change, one sending
a change triggers a infinite loop of the two clients sending the same
changes over and over again.
@rroohhh rroohhh requested review from phlmn, pajowu and anuejn August 30, 2023 15:43
This adds very basic undo functionality.
It works very well in a non collaborative environment, however undoing
your local changes when other remote changes occured can have unexpected consequences.
@rroohhh rroohhh added this pull request to the merge queue Aug 31, 2023
Merged via the queue into main with commit 75678cc Aug 31, 2023
2 checks passed
@rroohhh rroohhh deleted the vup/undo branch August 31, 2023 20:24
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.

2 participants