twinejs icon indicating copy to clipboard operation
twinejs copied to clipboard

Confirm Passage Deletion

Open ZargoGames opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe.

I misclicked on delete passage and it immediately deleted a passage I had been working on, and before I realized what happened I made another change so it wouldn't let me undo the passage deletion.

Describe the solution you'd like.

Add an option you can toggle that will require you to confirm the deletion of a passage.

Describe alternatives you've considered.

That's it.

Additional context on this suggestion.

No response

Presubmission checklist

  • [ ] I am interested in working on code that would implement this feature request. (This is not required to submit a suggestion.)
  • [X] I have done a search and believe that an issue does not already exist for this idea in the GitHub repository.
  • [X] I have read and agree to abide by this project's Code of Conduct.

ZargoGames avatar Nov 04 '22 20:11 ZargoGames

Twine supports multiple undos, so you should have been able to undo back to where you didn't delete it. If not, that's a bug.

I'll mark it as a maybe in case there's more support for this idea.

klembot avatar Nov 05 '22 18:11 klembot

From my user-perspective, the behaviour of previous Twine versions - confirm before deleting a passage - is preferable.

The new undo possibility is great, because you also can undo passage moving. But it does not completely replace the wish to be warned before a "big" change like a passage delete. I wonder why it was removed.

sternfuchs avatar Nov 25 '22 19:11 sternfuchs

If you accidentally delete a passage shortly before closing Twine, you may very well end up closing Twine without realizing you deleted the passage. Undo can't help in that situation.

If there was a confirmation before passage deletion you could not end up accidentally deleting a passage and not even be aware of it.

randomname42 avatar Dec 14 '22 21:12 randomname42