PasteServer icon indicating copy to clipboard operation
PasteServer copied to clipboard

Directly delete the paste on the delete button

Open einrobin opened this issue 5 years ago • 1 comments

When you're still on the recently uploaded paste and click on the delete button, it will ask you to fill in your delete secret.

I think the page should remember the secret (until you reload the page) and just delete the paste when clicking on the delete button. Maybe it should ask whether you really want to delete it or not so that you can't accidentally delete it.

einrobin avatar Oct 11 '20 13:10 einrobin

Hi @einrobin,

I’ve programmed an updated version of the paste server based on your feedback. Now, the page remembers the "Delete Secret" (until the page is reloaded), so you don’t have to enter it again when clicking the delete button. Additionally, I’ve added a confirmation prompt to make sure you don’t accidentally delete anything.

Feel free to check it out on GitHub when you have time and let me know what you think!

Best regards

efebagri avatar Mar 27 '25 23:03 efebagri