Bug 1221441 - Should show unique project name in projects dropdown and project list page
Summary: Should show unique project name in projects dropdown and project list page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Rafael Benevides
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-14 03:00 UTC by Wei Sun
Modified: 2015-11-23 21:13 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 21:13:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
displayname (10.41 KB, image/png)
2015-05-14 03:00 UTC, Wei Sun
no flags Details
projectname (14.58 KB, image/png)
2015-05-18 07:25 UTC, Wei Sun
no flags Details

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.


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