Bug 896537

Summary: [RFE] Be able to save dashboard ordering
Product: [Other] RHQ Project Reporter: Jay Shaughnessy <jshaughn>
Component: Core UIAssignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.5CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-03 10:44:44 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jay Shaughnessy 2013-01-17 09:06:31 EST
For a user with multiple dashboards there is no set ordering for the dashboard tabs in the dashboards view. It seems arbitrary or minimally, the order of creation.

The user should be able to re-order the tabs, dragging them would be nice, like the way browsers allow reordering of tabs.  Moreover the ordering should be persisted so that on the next visit to the Dashboard the same ordering is maintained.
Comment 1 Jay Shaughnessy 2013-01-17 09:14:37 EST
I looked into this and found that a main blocker is that SmartGWT does not (yet) offer built-in reorder, via drag, of Tabs in a TabSet, nor does it easily allow that feature to be written at the application level.

When/if that feature becomes available we should use it to deliver a typical tab ordering interface for Dashboards.

There are alternatives, but they would be sort of clunky, like separate arrow buttons for moving the selected dash right and left, or a dropdown of all dashboard names that allows up/down ordering.  And the db would need to support persisting the ordering as well.

Until the priority is greater for a more robust solution, I've added at least some predictability to the ordering, dashboards will now be ordered alphabetically, ascending, by name, from left to right.  By using a naming scheme users can get a preferred ordering or establish groupings.  Note that the leftmost dash (first in the ordering) is always the first dash presented when navigating to the Dashboard view.

master commit 731dd8f8b5d38b62ec99687752af35021b7fb503
Author: Jay Shaughnessy <jshaughn@redhat.com>
Date:   Wed Jan 16 17:07:26 2013 -0500
Comment 2 Heiko W. Rupp 2013-09-03 10:44:44 EDT
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.