Allow users to go back indefinitely
Is there an existing issue or pull request for this?
- [X] I have searched the existing issues and pull requests
Feature description
Currently, the "Undo Previous Action" button can only allow the user to undo the most recent action because the previousState object is reset each time.
Desired solution
I wonder if there was a way to make a "history" array that stored the changes in every action, which the CLI would use to calculate what changed and how to revert it, allowing the user to go back indefinitely. I haven't thought too deeply into the technical implementation of this, nor is it very high priority, but I just wanted to jot it down in case someone wanted to pick it up.
Alternatives considered
No response
Additional context
No response
Got interested on this idea, maybe I'll write some drafts related to edit state history.
You're incredible 🤣💖