Bug 1461876 - Provide context-sensitive navigation depending on which clusters are present
Summary: Provide context-sensitive navigation depending on which clusters are present
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: Dashboard
Version: 3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: beta
: 3
Assignee: Neha Gupta
QA Contact: sds-qe-bugs
URL: https://github.com/Tendrl/dashboard/i...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-15 13:53 UTC by Ju Lim
Modified: 2018-11-19 05:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-19 05:42:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Tendrl dashboard issues 261 0 None None None 2017-06-16 12:11:31 UTC

Description Ju Lim 2017-06-15 13:53:38 UTC
Description of problem:
As a Ceph only user, I only want to see Ceph objects (no File Shares / Volumes) in the menu.
As a Gluster only user, I only want to see Gluster objects (e.g. no Pools, RBDs) in the menu.
If I have both Ceph and Gluster, I expect to see both Ceph and Gluster objects  in the menu (or all menu items).

This was documented in the UX Design Approach and Information Architecture design document: https://tendrl.atlassian.net/secure/attachment/10100/Tendrl_%20UX%20Design%20Approach%20%26%20Information%20Architecture.pdf


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. See Menu on left when Ceph, Gluster, or both clusters present.
2.
3.

Actual results:
User currently sees both Ceph and Gluster menu items even if only one of the cluster types (Ceph / Gluster) is present.  When both Ceph and Gluster are present, the menu is showing as expected.

Expected results:
See description above

Additional info:
See https://github.com/Tendrl/dashboard/issues/261

Comment 3 Ju Lim 2017-06-15 14:26:27 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1460864.

Comment 4 Ju Lim 2017-06-20 17:23:55 UTC
In reviewing the code, a suggested approach is to:

- Expose another menu item, i.e. an additional attribute for the menu item, which you can then set a condition for it to decide whether or not to show Pools, RBDs, or Volumes — see dashboard/src/modules/base/navigation/menu-svc.js
- Use a rootscope event (e.g. ImportCluster) to trigger when the menus get rebuilt
- Note: this similar trigger would also need to control which Ceph or Gluster (main) dashboard tab gets presented as well

Comment 5 Shubhendu Tripathi 2018-11-19 05:42:53 UTC
This product is EOL now


Note You need to log in before you can comment on or make changes to this bug.