Skip to content

Hotkey for undo/redo #707

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

Open
keyserj opened this issue May 1, 2025 · 2 comments
Open

Hotkey for undo/redo #707

keyserj opened this issue May 1, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers QoL small change the improves the feel of using the tool

Comments

@keyserj
Copy link
Collaborator

keyserj commented May 1, 2025

Describe your issue

It's nice that we've got undo/redo buttons in the Header:

Image

but if my hands are on the keyboard, I lose hundreds of milliseconds moving my hands to the mouse in order to click one of those options.

Solution you'd like

If there's something to undo, pressing Ctrl + Z should undo it.
If there's something to redo, pressing Ctrl + Shift + Z should redo it.

Alternatives you've considered

No response

Additional context

No response

Technical ideas and questions

Should be very similar to setting the score for the selected node/edge, except:

@keyserj keyserj added enhancement New feature or request good first issue Good for newcomers QoL small change the improves the feel of using the tool labels May 1, 2025
@SakshamKaundal
Copy link
Contributor

Can i please try this !
i cant seem to find the code were undo redo buttons are specified can you help me locate it

@keyserj
Copy link
Collaborator Author

keyserj commented May 16, 2025

@SakshamKaundal I see you made #732 for this and found the file for the undo/redo buttons, nice. Can continue the discussion on that PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers QoL small change the improves the feel of using the tool
Projects
Status: No status
Development

No branches or pull requests

2 participants