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

undo behaviour #26

Open
adamjimenez opened this issue May 20, 2021 · 3 comments
Open

undo behaviour #26

adamjimenez opened this issue May 20, 2021 · 3 comments

Comments

@adamjimenez
Copy link

adamjimenez commented May 20, 2021

I've been playing with the Ace demo. I notice when collaborating if you press undo it undoes the other user's changes, which would be confusing when collaborating.

I also observed the following.
user 1: enter 'a', press undo. 'a' disappears as you would expect.
user 2: press undo. 'a' reappears.

@alalonde
Copy link
Contributor

Yes, this is called "local undo" and can be a very difficult problem to solve in a distributed-state environment. It is on our roadmap.

@adamjimenez
Copy link
Author

adamjimenez commented May 20, 2021

I was originally working with Firepad which is no longer supported so I've been looking around for an alternative. I know it's not easy and I will follow your progress with great interest.

@mmacfadden
Copy link
Contributor

The undo behavior will largely be added into Convergence itself, and then we will update this library if it needs changes to support that.

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

No branches or pull requests

3 participants