Story #9582

[Workbench] Don't display trashed collections in regular collection listings

Added by Brett Smith over 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
07/12/2016
Due date:
% Done:

0%

Estimated time:
Story points:
-

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

Related to Arvados - Story #9278: [Crunch2] Document/fix handling of collections with non-nil expires_at fieldIn Progress2016-06-01

Copied to Arvados - Story #9584: [FUSE] Don't display expiring collections in regular collection listingsNew2016-07-12

History

#1 Updated by Brett Smith over 1 year 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)

#2 Updated by Tom Morris about 1 year ago

  • Assigned To changed from Brett Smith to Tom Morris

#3 Updated by Tom Morris 9 months ago

  • Assigned To deleted (Tom Morris)
  • Target version set to 2017-05-10 sprint

#4 Updated by Tom Morris 9 months 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.

Also available in: Atom PDF