Bug 1221441

Summary: Should show unique project name in projects dropdown and project list page
Product: OKD Reporter: Wei Sun <wsun>
Component: Management ConsoleAssignee: Rafael Benevides <benevides>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Sun <wsun>
Severity: low Docs Contact:
Priority: low    
Version: 3.xCC: benevides, dmcphers, ffranz, jliggitt, libra-bugs, mmccomas, yanpzhan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-23 21:13:24 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:
Attachments:
Description Flags
displayname
none
projectname none

Description Wei Sun 2015-05-14 03:00:11 UTC
Description of problem:
Create two projects with the same display-name,and log in web console,in project dropdown,web console only show display-name of the project,that is difficult to distinguish between the two projects.
So it's better to show project name in the project dropdown

Please refer to the attachment


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

How reproducible:
Always

Steps to Reproduce:
1.Create two projects with the same display name
2.Log in the web console
3.Click one project
4.Check projects dropdown

Actual results:
Only show display name in the projects dropdown

Expected results:
Should show project name in the projects dropdown to distinguish between the two projects with the same display-name

Additional info:

Comment 1 Wei Sun 2015-05-14 03:00:38 UTC
Created attachment 1025270 [details]
displayname

Comment 2 Jordan Liggitt 2015-05-15 00:16:29 UTC
Hmm... I'm pretty sure we want to show the display name in the UI (that's sort of the point), but I can see the usability issue.

Same issue exists on the projects list page

Maybe show the raw name in ()'s after the display name if there is a duplicate display name? Not sure... that's sort of hard to do.

Comment 3 Samuel Padgett 2015-05-15 16:24:39 UTC
Since the list is sorted now, we only need to check if the next or previous project has the same display name when adding options.

Comment 4 Wei Sun 2015-05-18 07:25:12 UTC
Created attachment 1026591 [details]
projectname

Comment 5 Fabiano Franz 2015-09-21 16:50:14 UTC
Fixed in origin master.

Comment 6 Yanping Zhang 2015-09-22 02:29:40 UTC
Verified on devenv-fedora_2377.
$ openshift version
openshift v1.0.6-103-g2e8e9f4
kubernetes v1.1.0-alpha.0-1605-g44c91b1
Steps to verify:
1.Login web console
2.Create project1 with display name "Test"
3.Create project2 with display name "Test"
4.Check the project list, project names will show up behind those same display names:
Test (project1)
Test (project2)
5.Click into project1, check the dropdown box for Project. There are project names behind display-name "Test" to distinguish each project.

The bug has been fixed, so move it to Verified.