Would that be possible? In that way deleted notes can be recovered (much easier than having to query sqlite and using the command palette as mentioned in How to recover deleted notes), especially when they are deleted by mistake. I think that would be similar to how conflict works?
Notes that I do no longer consider "active" get transferred to an "Archived" notebook that serves as an intermediary step before deletion or long term preservation. You could call a notebook "Trash" and move notes inside if you want to have a reversible deletion process.
Automating this would be great, and also prevents accidental deletions.
Completely agree.
That's the way I do it, too - but it takes a whole lot of discipline to remember to use the move function instead of just deleting
Also using a Notebook for Trash here. Instead of moving the note manually, I've set a keyboard shortcut to move the active note to the Trash (Archives, Recycle bin, or whatever your chosen name for the Trash Notebook happens to be) by means of the Quick Move Notes Plugin, it's worked well for me.
Rescript the delete function so it sends the deleted notes to a specified notebook if called from any other notebook than the specified trash notebook.
If called from the trash notebook then proceeds to the permanent deletion.
Give the option to exclude the specified trash notebook from search.
What else?
That is a major feature for me.
It would be great if there's another option to permanently delete.
strong agree!!!!!!!
-> ! =
Thunderbird, Outlook, Notes, even - sorry - Evernote, and of course Windows and OS - offer a recycle bin.
I can only assume that for a user with a development background, this feature is not a given. Perhaps that is why it is not yet included in Joplin.
From a non-developer's point of view, it seems to me to be a self-evident protection against accidental data loss. Most of all a trash folder is a huge plus for a carefree and already learned (!) workflow.
Finally, as a user who cares deeply about the user experience, I would also like to see a recycle bin for deleted notes in Joplin.
P.S.
I have never created or supported a pull request. And I don't know how to do it yet, but for this feature I would start exploring it!
Another option would be an option to "protect" a note from accidental deletion--essentially a read-only note. The user would have to remove the protection flag in order to delete it. This would also protect against accidental changes.