Bug #5743

[Workbench] Replace type-specific #index pages with generic code

Added by Radhika Chippada over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Workbench
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
2.5

Description

ProjectsController#show has a set of routes, controllers, and views that are capable of listing/filtering/sorting/inf-scrolling any type of object, delegating only the "show detail of one item" part to the appropriate partial.

This generic "list things" code should be
  • Updated, if necessary, to support preloading filters: e.g., a bookmark or link to /collections?filters=[...]
  • Updated, if necessary, to support showing lists of objects irrespective of owner project (i.e., either use the object_type.index API instead of groups.contents, or use groups.contents without supplying a project uuid, like Search does)
  • Moved from "projects" to "application" if/where appropriate
  • Used for all cases in workbench where a tab consists of a list of arvados objects, including
    • projects#show tabs
    • any_arvados_type#index "recent" tabs
    • "collections with this portable_data_hash" on collections#show (please see discussion at #5622 about how routes/controllers should work here)
There are various other "show a list of things" lying around that (mostly) predate the generic stuff in projects#show and implement some subset or alternate version of the generics. These should be removed. Examples:
  • collections#index
  • pipeline_instances#index
  • "paging" partial

Related issues

Related to Arvados - Feature #5622: [Workbench] Fix timeout when generating long "list of collections with this pdh" on content hash pageResolved04/27/2015

History

#1 Updated by Tom Clegg over 4 years ago

  • Subject changed from [Workbench] Performance issue with /collections page. It times out more times than not. to [Workbench] Remove /collections page. It times out more often than not, has various other bugs, isn't linked from anywhere, and isn't part of any workflow.
  • Story points set to 0.5

#2 Updated by Tom Clegg over 4 years ago

  • Description updated (diff)
  • Category set to Workbench
  • Target version changed from Bug Triage to Arvados Future Sprints

#3 Updated by Tom Clegg over 4 years ago

  • Subject changed from [Workbench] Remove /collections page. It times out more often than not, has various other bugs, isn't linked from anywhere, and isn't part of any workflow. to [Workbench] Replace type-specific #index pages with generic code
  • Description updated (diff)

#4 Updated by Tom Clegg over 4 years ago

  • Story points changed from 0.5 to 2.5

#5 Updated by Tom Clegg over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF