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

Implementing Undo and Redo features by using the Memento Pattern #132

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

JulioAleRodri
Copy link

This pull request add the features "Undo" and "Redo" to the system by using the Memento Design Pattern. This allows the user to go back in the states of the program if the user wants to undo the last change, or even restore the program to the original state.
In the same way, the "Redo" feature was also implemented, which allows to restore a state after the user use the "Undo" action. This enhances the user experience since it´s easier to fix an error and interact with the system.

Desing proposed in the PR:
DiagramaMementoEtapa3 drawio (1)

@kraanzu
Copy link
Owner

kraanzu commented Jul 29, 2023

Thank you so much for the PR and adding so much stuff! Really appreciate it :D
I was also thinking of implementing undo/redo but didn't know how to integrate it well from the UI side.
plus the design patterns.
It seems that you guys branched from the main branch and the UI implementation was changed in develop branch so I'm having a lot of conflicts! I'll try to fix them asap

Sorry for the late reply. I was quite busy for the last couple of weeks :(

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.

4 participants