8183: When there are more than 200 readable projects, build the tree in steps;
authorradhika <radhika@curoverse.com>
Fri, 5 Feb 2016 17:00:58 +0000 (12:00 -0500)
committerradhika <radhika@curoverse.com>
Fri, 5 Feb 2016 17:00:58 +0000 (12:00 -0500)
commit0da328cc74af2989f811d2970096bd5be5f9776b
treee16c3b869737baf63b8d70819012832a392002e4
parent9573ffcfb52ae30c76d5595fbb67005ef50b95fd
8183: When there are more than 200 readable projects, build the tree in steps;
fetch projects under home, then subprojects under those projects and so on
until we exceed the 200 limit. In that case, also display a message in Projects
dropdown informing the user that all projects are not retrieved.
The chooser version of the project tree is untouched (and hence not performing well)
until we have the favorite projects implementation is in place. This is because
there is no search capability in the chooser dialog and hence no way to choose a
shared project when the limit is exceeded in this new top-down approach.
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/views/application/_projects_tree_menu.html.erb