[ARVADOS] updated: ffe1fe1c77743147ee82aacdc50edde3672cd748

Git user git at public.curoverse.com
Mon Oct 3 14:29:38 EDT 2016


Summary of changes:
 apps/workbench/app/views/projects/_show_dashboard.html.erb | 6 +++---
 apps/workbench/config/application.default.yml              | 7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

       via  ffe1fe1c77743147ee82aacdc50edde3672cd748 (commit)
      from  f300b641735aa2657cfdcc4303050095c3bd60d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit ffe1fe1c77743147ee82aacdc50edde3672cd748
Author: radhika <radhika at curoverse.com>
Date:   Mon Oct 3 14:29:00 2016 -0400

    10078: config parameter to hide / show recent_collections panel in dashboard.

diff --git a/apps/workbench/app/views/projects/_show_dashboard.html.erb b/apps/workbench/app/views/projects/_show_dashboard.html.erb
index c1e3b6e..c830b59 100644
--- a/apps/workbench/app/views/projects/_show_dashboard.html.erb
+++ b/apps/workbench/app/views/projects/_show_dashboard.html.erb
@@ -1,5 +1,5 @@
 <%
-  recent_procs = recent_processes(10)
+  recent_procs = recent_processes(12)
 
   wus = {}
   outputs = []
@@ -13,7 +13,7 @@
   collection_pdhs = outputs.select {|x| !(m = CollectionsHelper.match(x)).nil?}.uniq.compact
   collection_uuids = outputs - collection_pdhs
 
-  if !Rails.configuration.suppress_collections_in_dashboard
+  if Rails.configuration.show_recent_collections_in_dashboard
     recent_cs = recent_collections(8)
     collection_uuids = collection_uuids + recent_cs[:collections].collect {|c| c.uuid}
     collection_uuids.flatten.uniq
@@ -163,7 +163,7 @@
           </div>
         </div>
       </div>
-      <% if !Rails.configuration.suppress_collections_in_dashboard %>
+      <% if Rails.configuration.show_recent_collections_in_dashboard %>
       <div class="panel panel-default">
         <div class="panel-heading"><span class="panel-title">Recent collections</span>
           <span class="pull-right">
diff --git a/apps/workbench/config/application.default.yml b/apps/workbench/config/application.default.yml
index 5e5f4e9..6326285 100644
--- a/apps/workbench/config/application.default.yml
+++ b/apps/workbench/config/application.default.yml
@@ -281,6 +281,7 @@ common:
   # and display in the Log tab, while subscribing to web sockets.
   running_job_log_records_to_fetch: 2000
 
-  # In systems with many shared projects, dashboard loading can be slow
-  # due to collections indexing; hide the recent collections panel
-  suppress_collections_in_dashboard: false
+  # In systems with many shared projects, dashboard loading can be
+  # slow due to collections indexing; the recent collections panel
+  # can be hidden by setting this configuration parameter to false
+  show_recent_collections_in_dashboard: true

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list