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

Improve undo / redo #14

Open
pscanf opened this issue Nov 5, 2021 · 0 comments
Open

Improve undo / redo #14

pscanf opened this issue Nov 5, 2021 · 0 comments
Labels
excalidraw Requires a new Excalidraw feature feature New feature polish Improvements polishing the UX
Projects
Milestone

Comments

@pscanf
Copy link
Member

pscanf commented Nov 5, 2021

At the moment switching slides (or toggling common elements, or switching view) resets the undo / redo history. Instead, history should be preserved per slide. Example scenario:

  1. I make change X to slide 0
  2. I switch to slide 1
  3. I make change Y to slide 1
  4. I switch back to slide 0
  5. I undo and change X is reverted
  6. I switch to slide 1
  7. I undo and change Y is reverted

We should also consider supporting undo / redo for deck-wide operations, like rearranging slides, deleting a slide, etc.

Notes:

  • the current Excalidraw history API doesn't seem to support export and restore.
@pscanf pscanf added feature New feature polish Improvements polishing the UX labels Nov 5, 2021
@pscanf pscanf added this to the 1.0.0 milestone Nov 5, 2021
@pscanf pscanf added this to To do in 1.0.0 Nov 5, 2021
@pscanf pscanf added the excalidraw Requires a new Excalidraw feature label Nov 13, 2021
@pscanf pscanf moved this from To do to To do in Excalidraw in 1.0.0 Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
excalidraw Requires a new Excalidraw feature feature New feature polish Improvements polishing the UX
Projects
1.0.0
To do in Excalidraw
Development

No branches or pull requests

1 participant