This pull request addresses the feature request outlined in issue #107. It adds the ability to delete individual notes or folders from the trash, enhancing the current functionality, which only allowed for deleting all items at once. The update includes:
Implementation of a deleteItem function that handles the deletion of individual notes and non-empty folders.
Error handling to prevent the deletion of non-empty folders.
Improvements to the placeholder text for empty notebooks to provide a better user experience.
This feature provides users with more granular control over their deleted items, making it easier to manage the trash.
This pull request addresses the feature request outlined in issue #107. It adds the ability to delete individual notes or folders from the trash, enhancing the current functionality, which only allowed for deleting all items at once. The update includes:
deleteItem
function that handles the deletion of individual notes and non-empty folders.This feature provides users with more granular control over their deleted items, making it easier to manage the trash.