-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[D8][WP] Move to trash instead of deleting. #2498
Comments
If you decide adding this feature, please consider making it easy to be turned off.
They way the trash is implemented in WP also adds to many steps for users to completely delete content. |
It could be implemented as a separate trash.module I guess. That way, people that don't like this could turn it off (like I do with contextual.module).
We could have a dropbutton with two commands: "Move to trash" and "Delete permanently" the default being to move to trash. Disabling the trash.module would make the dropbutton render as a single button with the good ol' "Delete" action. |
That sounds reasonable. |
It seems that this is being planned for D8 core as part of their Workflow Initiative. I have updated the issue summary and I have added this as part of the #378 meta. |
This is part of #1388 and #378
WordPress
WordPress has had this feature for ages: https://en.support.wordpress.com/trash
Drupal 8
According to the Trash is a new experimental module change record, this should be already in core since 8.3.0. At the time of writing though, there is no such module listed in a fresh installation of 8.6.2, so I could not test nor provide actual screenshots of the UI.
d.org issue: WI: Phase E: Introduce Trash module
https://www.drupal.org/project/drupal/issues/2797247 is the core issue that is tracking the progress of this, and it is currently against 8.7.x, marked as needs work.
WI: UX prototypes for Trash module is the issue for the UI bit. Here are some screenshots from that issue:
...and here are some goals defined:
Related articles:
Unpublish, don't delete -> Deleting Drupal nodes
Contrib modules
Trash module: This contrib project has versions only for D8, D6 and D5 - not sure as to why D7 was skipped. This is what is being ported to D8 core.
Trash Flag
Killfile / Entity Soft Delete (fork of Killfile):
The text was updated successfully, but these errors were encountered: