Project

General

Profile

Actions

Idea #8441

closed

[Workbench] Update project chooser popup to display favorites and top level my projects instead of using build_project_trees

Added by Radhika Chippada about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Radhika Chippada
Category:
Workbench
Target version:
Start date:
02/18/2016
Due date:
Story points:
1.0

Description

The build_project_trees method retrieves all projects accessible by the user. In a system with many shared projects, this proved to be quite expensive operation. #8183 implemented an optimization of building my projects tree for the top level projects and #8286 implemented the ability to mark projects as favorites.

Display the projects tree as a combination of favorites and top-level-my-projects similar to Projects dropdown in breadcrumbs display.

A user can star a shared but not writable project to mark it as a favorite. When displaying the Favorite projects in the chooser popup, these non-writable starred projects should be non-selectable.

After making this update, remove the build_project_trees code from application_controller.

Update any existing tests that are impacted. Add test(s) to expect favorite projects in chooser popup.


Subtasks 1 (0 open1 closed)

Task #8471: Review branch 8441-project-chooserResolvedPeter Amstutz02/18/2016Actions

Related issues

Related to Arvados - Idea #8286: [API] [Workbench] Allow users to choose which projects appear in their dropdown areaResolvedRadhika Chippada01/22/2016Actions
Actions

Also available in: Atom PDF