Problem
Once deleted, a note cannot be recovered.
Proposal
When notes are deleted, they are moved to a trash can where they remain for 7 days before being permanently deleted.
Use cases
First, delete one or more notes:
Second, view the trash. This command lists all notes in the trash:
Then, you can permanently delete one, multiple, or all notes from the trash. A confirmation message is shown before any deletion:
- doggy trash --delete
- doggy trash --delete --all
Alternatives considered
Direct deletion already removes notes, but a trash can adds a safety layer by introducing a recovery window. This is a common feature in well-designed applications.
Additional context
- Once a note is deleted from the trash, it cannot be recovered.
Problem
Once deleted, a note cannot be recovered.
Proposal
When notes are deleted, they are moved to a trash can where they remain for 7 days before being permanently deleted.
Use cases
First, delete one or more notes:
Second, view the trash. This command lists all notes in the trash:
Then, you can permanently delete one, multiple, or all notes from the trash. A confirmation message is shown before any deletion:
Alternatives considered
Direct deletion already removes notes, but a trash can adds a safety layer by introducing a recovery window. This is a common feature in well-designed applications.
Additional context