wildskyf / TextareaCache

Browser Add-on: Automatically save the content in Textarea.
MIT License
66 stars 7 forks source link

[Suggestion] Add confirmation for Delete All button #80

Open tuxayo opened 5 years ago

tuxayo commented 5 years ago

Or making rollbackable. Like moving everything into a temporary that will get cleaned on next startup.

Aim: avoid misclick dramas ^^" (In my case, luckily nothing precious seems to have been lost)

Gitoffthelawn commented 5 years ago

Maybe make it an option?

I respect your idea, but personally I prefer not to click on "Are you sure?" in this case.

Johann-Tree commented 5 years ago

I would really appreciated it! I accidentally clicked on Delete All and everything went away! :( Where stores the extensions it's saved information - file path? Hopefully I can grab that file from a backup.

Thanks!

tuxayo commented 4 years ago

@Gitoffthelawn

Maybe make it an option?

Which could be an option? Adding a confirmation button or making the delete rollbackable for the rest of the session?

Gitoffthelawn commented 4 years ago

@tuxayo I think making it "rollbackable" for the rest of the session will involve significant code changes, so I think an option to include an "Are you sure?" message box will be more likely.