-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Canvas] Ability to undo actions #23614
Comments
Meta issue: #23058 From our slack convo: it'd be good to avoid a confirmation dialog - as it's a modal thing (nomodes!) but maybe at some point we could add a transient annotation near the element, or somewhere on the side, showing what happened: ❌ element deleted... [click to undo] so an affordance that
|
This is currently implemented by the back and forward buttons in the browser, but it would be nice to wire them up to buttons and keyboard shortcuts |
Pinging @elastic/kibana-design |
They both have shortcuts: I think all that's left is to add undo/redo buttons somewhere in the UI. |
I'm ok with just closing this issue. This particular action feels common enough that, as long as we're using the common shortcuts (which we are), that users will discover it. |
Describe the feature:
I would like the basic ability to undo recent actions.
Describe a specific use case for the feature:
For example, I delete or move an element and want to bring it back to its previous state using command-z/ctrl-z or some similar action.
Implementation-wise the deletion undo could be split to 3 things:
a) what affordance / gesture to use (now Backspace, in the future, ctrl-z),
b) how to help feature discovery (eg. what you or I wrote),
c) how to make the experience smoother, despite Redux
The text was updated successfully, but these errors were encountered: