Undo project#3995
Open
rozyczko wants to merge 459 commits into
Open
Conversation
added 30 commits
March 10, 2026 16:40
Thought this was already here but apparently not.
Old way was throwing errors because symbol lookup doesn't have any of the inverse units (or indeed units of any other dimension).
krzywon
reviewed
Jun 9, 2026
krzywon
left a comment
Contributor
There was a problem hiding this comment.
Overall, this is looking very promising, but I'm seeing some undo/redo that aren't repeatable. I'll take a deeper dive into the code soon, but I did make a couple of suggestions.
After changing the scale value to 0.5, then clicking compute:

Clicking undo shows no plot changes, but the scale value changes:

Undo again and the plot changes:

Redo twice to get back to the head of the stack and the scale is back to 0.5, but the plots aren't updated:

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added Undo/Redo functionality, tied to the GUI taskbar components.
This works in all perspectives and reverses any user input in any textfield.
This PR is against main, since I think the feature is important to be added to the next release.
The PR has a bunch of unrelated changes coming from rebasing against the recent
main.How Has This Been Tested?
Tested locally, added a number of unit tests.
Review Checklist:
[if using the editor, use
[x]in place of[ ]to check a box]Documentation (check at least one)
Installers
Licensing (untick if necessary)