Skip to content

[FEATURE] Add Trash Can #5

Description

@Dev-ev-v

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:

  • doggy delete

Second, view the trash. This command lists all notes in the trash:

  • doggy 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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions