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

Undo should recall the mode/selection you had on the last step #23304

Open
avvvvve opened this issue Jun 19, 2024 · 0 comments
Open

Undo should recall the mode/selection you had on the last step #23304

avvvvve opened this issue Jun 19, 2024 · 0 comments
Labels
feature request Used to suggest improvements or new capabilities UX/interaction

Comments

@avvvvve
Copy link

avvvvve commented Jun 19, 2024

Your idea

Recall the mode or selection state that was last in play when undo or redo are used, so that undo can be used seamlessly in combination with other keyboard interactions.

Problem to be solved

Undo and redo don't reliably return you to the mode you were in before the last action taken. This prevents you from running certain commands without reselecting an element or changing modes.

Examples:

Undoing shift + arrow actions on a hairpin

  1. Insert a hairpin
  2. Hold shift and press the right arrow several times to extend it
  3. Press undo
  4. Instead of returning the hairpin to its editable state (with the handles showing), it is no longer selected. It must be reselected before you can use the shift + arrow key interaction again.

Adding text from note input mode

  1. Write some notes
  2. Press Cmd + T to insert a text frame (at this point, you're still in note input mode)
  3. Type in text
  4. Press esc to end editing
  5. Press undo
  6. The note is selected, but it's not in note input mode
undo-modes.mov

Prior art

Figma does this. They even go so far as to include different selections made in the undo stack, which I find useful.

@muse-bot muse-bot added the feature request Used to suggest improvements or new capabilities label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Used to suggest improvements or new capabilities UX/interaction
Projects
None yet
Development

No branches or pull requests

2 participants