Idea #9582
closed[Workbench] Don't display trashed collections in regular collection listings
Description
Functional requirements: The only place Workbench should list expiring collections (collections where the expires_at
field is not null) for the user is in the trash view, where the user may undelete them by clearing their expiry. In any other listing, expiring collections should not be shown. This can be accomplished by listing collections with the filter ["expires_at", "=", null]
.
Filter expiring collections out of the following listings:
- "Recent collections" on the Dashboard
- The "Data collections" tab of projects
- The "disambiguation" page you get when you go to a page for a collection's portable data hash, and more than one collection has that hash
- Input choosers for Collections and Files
- Provenance graphs (if you know the collection's portable data hash, you can still render an entry for that portable data hash in the graph, but you must ensure that the graph does not show any details of an expiring collection (e.g., its UUID), or link to it)
- Work unit outputs and logs in their overview pane
- Work unit logs in the Log tab
If you find other listings in the course of working on this branch, do go ahead and exclude them from there as well.
We do need to be able to list and show expiring collections to support trash view. The implementation should not make that unreasonably difficult. For example, the Collection#list
method should not always add the suggested filter.
Related issues
Updated by Brett Smith over 8 years ago
- Subject changed from [Workbench] Don't display expired collections in regular collection listings to [Workbench] Don't display expiring collections in regular collection listings
- Description updated (diff)
Updated by Tom Morris about 8 years ago
- Assigned To changed from Brett Smith to Tom Morris
Updated by Tom Morris over 7 years ago
- Assigned To deleted (
Tom Morris) - Target version set to 2017-05-10 sprint
Updated by Tom Morris over 7 years ago
- Subject changed from [Workbench] Don't display expiring collections in regular collection listings to [Workbench] Don't display trashed collections in regular collection listings
- Status changed from New to Resolved
- Target version deleted (
2017-05-10 sprint)
The API server automatically filters out trashed collections, so this is effectively done.