-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 removes the partial output of currently running cell; cannot redo changes undone when other cell produces outputs #10694
Comments
Actually, there is a way of preventing Yjs from capturing operations. I'm working on this. I'll open a PR. |
This would be great to do. To some users, this behavior is detrimental to their workflow. |
I don't think having undo/redo of outputs makes sense. While it might make sense to keep the history, I think it should be marked in some way to not be included in the undo/redo stream. |
Description
The new system of storing history of changes in 3.1 introduced with Real Time Collaboration (RTC) has some peculiarities which do not work great with my workflow. The synchronization of outputs and inputs might be neat in some cases, but it can be disruptive for live-editing code while the cell is already running.
Reproduce
Demo isolated to a single cell
The real problems
Expected behavior
I was able to get used to the undo being document-wide rather than cells-specific, but it still can be annoying from time to time.
I think that there are two issues:
a) allowing users to disable the document-wide history tracking when not in RTC mode
b) separating history of outputs from history of inputs, at least when not in RTC mode
Context
The text was updated successfully, but these errors were encountered: