craftcms / craftcms/cms

Feature request: Trashcan / Utility for deleted elements (Soft delete)

Open
#3,500 1 comment 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

authoring :writing_hand:
Dominant language
PHP
Stars
3.6k
Forks
705
Avg merge
1d 5h
Merged PRs (30d)
134

Description

Soft delete is a nice addition to Craft, I had a case where we could have needed this after client deleted a user without reading the popup.

But; Currently its quite hard to see all deleted items or search through them if you have a lot of elements / sections. Other systems I have used earlier utilities a sort of trashcan where all deleted items gather, making it easier to manage them.

I suggest we get a trashcan under utilities where we can manage all deleted elements.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Craft's existing soft-delete behavior and how deleted elements are currently surfaced. Then determine the scope of a Utilities trashcan, including which deleted elements it manages and what actions are required; the issue is complete when that behavior is specified and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.