Bug 1629520

Summary: Fix context switcher CSS issue
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Neha Gupta <negupta>
Component: web-admin-tendrl-uiAssignee: Neha Gupta <negupta>
Status: CLOSED ERRATA QA Contact: Filip Balák <fbalak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.4CC: fbalak, mbukatov, negupta, nthomas, rhs-bugs, sankarshan
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.4.z Batch Update 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tendrl-ui-1.6.3-12.el7rhgs Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-17 17:06:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1627988    
Attachments:
Description Flags
context switcher
none
Broken context selector none

Description Neha Gupta 2018-09-17 03:13:56 UTC
Description of problem:

After upgrading to the latest patternfly version i.e. 3.51.1, css of the context switcher seems to be broken. 

Solution: 

Replace it with the new context selector - https://www.patternfly.org/pattern-library/navigation/context-selector/

Comment 2 Neha Gupta 2018-09-18 01:26:46 UTC
Please note that one new npm package has been added in the UI for context selector plugin i.e. "bootstrap-select": "1.12.2"

Comment 3 Martin Bukatovic 2018-10-22 09:16:04 UTC
Does this depend on BZ 1627988? If yes, link it that way.

Comment 4 Martin Bukatovic 2018-10-30 10:33:12 UTC
Providing QA ACK, with the following condition:

Since there may not be enough time to fix and retest WA ui if serious problems
are discovered, we will follow the following *mitigation plan* in such case:
drop changes related to patternfly, branding from BU2 (BZ 1627651, BZ 1627988
and BZ 1629520 - and if that is not possible, drop all ui changes from BU2).

Comment 7 Filip Balák 2018-11-12 13:15:06 UTC
Created attachment 1504722 [details]
context switcher

Comment 8 Filip Balák 2018-11-12 13:19:20 UTC
What was the css problem? In my setup I have context switcher with 3 clusters and it seems to work as expected. I attached a picture how it looks with my setup.

Comment 9 Neha Gupta 2018-11-14 10:32:19 UTC
The context selector css is broken after upgrading the patternfly version. Attaching screenshot for the same.

Comment 10 Neha Gupta 2018-11-14 10:33:11 UTC
Created attachment 1505602 [details]
Broken context selector

Comment 11 Filip Balák 2018-11-14 11:30:10 UTC
From attachment 1505602 [details] can be seen how the context selector is moved and broken. With current release this problem is fixed as seen in attachment 1504722 [details]. --> VERIFIED

Tested with:
tendrl-api-1.6.3-8.el7rhgs.noarch
tendrl-node-agent-1.6.3-11.el7rhgs.noarch
tendrl-ui-1.6.3-12.el7rhgs.noarch
tendrl-monitoring-integration-1.6.3-15.el7rhgs.noarch
tendrl-grafana-selinux-1.5.4-2.el7rhgs.noarch
tendrl-notifier-1.6.3-4.el7rhgs.noarch
tendrl-ansible-1.6.3-9.el7rhgs.noarch
tendrl-selinux-1.5.4-2.el7rhgs.noarch
tendrl-api-httpd-1.6.3-8.el7rhgs.noarch
tendrl-grafana-plugins-1.6.3-15.el7rhgs.noarch
tendrl-commons-1.6.3-13.el7rhgs.noarch

Comment 12 errata-xmlrpc 2018-12-17 17:06:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3829