Bug 1371583 - [RFE]Project dropdown on Horizon dashboard does not list all the projects
Summary: [RFE]Project dropdown on Horizon dashboard does not list all the projects
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Radomir Dopieralski
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-30 14:22 UTC by Chaitanya Shastri
Modified: 2019-12-16 06:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-02 07:21:12 UTC
Target Upstream Version:


Attachments (Terms of Use)
Creates 40 projects and adds 'admin' as a member to those projects. (157 bytes, application/x-shellscript)
2016-08-30 14:22 UTC, Chaitanya Shastri
no flags Details

Description Chaitanya Shastri 2016-08-30 14:22:19 UTC
Created attachment 1195933 [details]
Creates 40 projects and adds 'admin' as a member to those projects.

Description of problem:
Project dropdown which is present on the top navigation bar does not list all the projects to which the user belongs to. 

This happens when user is a _member_ of 35+ projects.

Project dropdown is used to quickly switch between the projects.

There should be a scroll bar to scroll through all the projects.

Version-Release number of selected component (if applicable):
I checked this in OSP7, OSP8 and OSP9. It is reproducible in these three releases.

How reproducible:
Everytime.

Steps to Reproduce:
1.Create 35+ projects and assign 'admin' or any user as '_member_' or any other role.

2. Logout from the Horizon Dashboard and login again. Click the 'Project' dropdown button. You will see random projects being listed and not all the projects that this user is a member of.


Actual results:
Not all projects are listed in the 'Project' dropdown.

Expected results:
All the projects of the user should be listed in the 'Project' dropdown.

Additional info:
I have created a bash script to create projects (test1...test40) and add 'admin' as a _member_ to those projects. It would help anybody to quickly create the projects and test the results. I am attaching the tiny script to this BZ.

Comment 2 Radomir Dopieralski 2016-08-30 16:37:36 UTC
You can try increasing the value of the DROPDOWN_MAX_ITEMS setting in your local settings...

Comment 3 Radomir Dopieralski 2016-08-31 13:40:20 UTC
You can also set it to None to disable the limit.


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