Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1741470

Summary: Group by lists should have divider and group labels together
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1751605 (view as bug list) Environment:
Last Closed: 2019-10-16 06:36:02 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: 1751605    
Attachments:
Description Flags
6Labels
none
7Labels none

Description Yadan Pei 2019-08-15 09:08:41 UTC
Description of problem:
Group by dropdown should have divider between 'Application','Resource' and Labels, different issue with https://bugzilla.redhat.com/show_bug.cgi?id=1734709
In my trying, the issue only happens when label number is more than 6.
When there are many resources in one project, it will be really hard to group the resources

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-08-14-211610

How reproducible:
Always

Steps to Reproduce:
1. user create a new project
2. Click 'add other content' to +Add page
3. Click Deploy Image, set these values 
Application: choose Create New Application
Application Name: testdcapp
Image Name: aosqe/hello-openshift
Add Labels: testlabel1=value1, testlabel2=value2, testlabel3=value3
Hit Create
4. Go to projects workloads page /k8s/cluster/projects/ui-project3/workloads, click 'Group by'
5. Remove one pair of label from Actions -> Edit Labels, go to project workloads  again, click 'Group by'

Actual results:
4. Since there are many labels, the list is in a mess order, not all labels are grouped together. 
5. All labels are grouped together and have clear divider

Expected results:
4. We should group 'Resource' & 'Application' together, and add a divider between Label and them

Additional info:

Comment 1 Yadan Pei 2019-08-15 09:10:32 UTC
Created attachment 1604026 [details]
6Labels

Comment 2 Yadan Pei 2019-08-15 09:10:52 UTC
Created attachment 1604028 [details]
7Labels

Comment 4 Yadan Pei 2019-08-19 02:59:15 UTC
The issues reported has been fixed

When there are more than 6 labels, 'Group by' still have clear lists

Verified on 4.2.0-0.nightly-2019-08-18-054211

Comment 5 errata-xmlrpc 2019-10-16 06:36:02 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/RHBA-2019:2922