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 all of a multiline import at once #2550

Open
2 of 3 tasks
raineorshine opened this issue Nov 5, 2024 · 0 comments
Open
2 of 3 tasks

Undo all of a multiline import at once #2550

raineorshine opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@raineorshine
Copy link
Contributor

raineorshine commented Nov 5, 2024

Steps to Reproduce

- a
- b
- c
  1. Create a new, empty thought.
  2. Paste the above thoughts.
  3. Undo.

Current Behavior

The last imported thought is removed.

- a
- b

Expected Behavior

All imported thoughts should be removed.

The state should reverted to right before the paste.

- [empty thought]

There is already some logic in place to group navigation actions together into a single undo. A similar approach should be applied here.

@raineorshine raineorshine added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant