Problem/Motivation

When I demonstrated this module for a large audience, I received feedback that users viewing the Trash overview page don't know if auto-purge is enabled or how long items will remain in the trash. They brought up that Google Drive's trash feature indicates how long items will remain in the trash:

Google Drive trash page showing message 'Items moved to the trash will be deleted forever after 30 days'

Proposed resolution

If auto purge is enabled, display text above the trash listing that indicates the auto purge setting, similar to what we already do on the entity delete confirmation form:

Trash overview page with message 'Items in the trash will be deleted forever after 4 weeks.'

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 trash-ui-change.jpg83.35 KBbkosborne
google-drive-trash.jpg36.76 KBbkosborne

Issue fork trash-3593969

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bkosborne created an issue. See original summary.

bkosborne’s picture

Issue summary: View changes
StatusFileSize
new83.35 KB

bkosborne’s picture

Status: Active » Needs review

  • amateescu committed 8077683c on 3.1.x authored by bkosborne
    feat: #3593969 When auto purge is enabled, indicate the time frame on...

  • amateescu committed 43ea5e03 on 3.x authored by bkosborne
    feat: #3593969 When auto purge is enabled, indicate the time frame on...
amateescu’s picture

Status: Needs review » Fixed

That's a great idea :) Merged to 3.1.x and cherry-picked to 3.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.