Actions
Bug #5743
closed[Workbench] Replace type-specific #index pages with generic code
Story points:
2.5
Release:
Release relationship:
Auto
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)
- collections#index
- pipeline_instances#index
- "paging" partial
Actions