Story #9582

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

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

Status:ResolvedStart date:07/12/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Story points-
Velocity based estimate-

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-n... In Progress 06/01/2016
Copied to Arvados - Story #9584: [FUSE] Don't display expiring collections in regular coll... New 07/12/2016

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

  • Assignee changed from Brett Smith to Tom Morris

#3 Updated by Tom Morris 6 months ago

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

#4 Updated by Tom Morris 6 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