Issue: Add Soft Delete Functionality for Snippets
Description
Instead of permanently deleting snippets, implement soft delete support. Deleted snippets should be recoverable from a trash/recovery section, ensuring users can restore accidentally removed content.
Acceptance Criteria
- Add
isDeleted (boolean) flag in snippet schema
- Snippets marked as deleted should be excluded from normal queries
- Create a trash/recovery section to list deleted snippets
- Allow users to restore deleted snippets from trash
- Ensure activity logging captures delete and restore actions
Issue: Add Soft Delete Functionality for Snippets
Description
Instead of permanently deleting snippets, implement soft delete support. Deleted snippets should be recoverable from a trash/recovery section, ensuring users can restore accidentally removed content.
Acceptance Criteria
isDeleted(boolean) flag in snippet schema