backport: projects drop-down broken for large numbers of projects

Bug #1616150 reported by Scott Machtmes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
High
Scott Machtmes

Bug Description

Backpport of bug https://bugs.launchpad.net/horizon/+bug/1498039

If there is a large number of projects available for viewing for a particular user, Horizon doesn't allow to see all them.

Customer Environment Found = MOS 8.0

Reproducible = Yes

Related: Bug #1498039

Changed in mos:
assignee: nobody → MOS Maintenance (mos-maintenance)
importance: Undecided → High
status: New → Confirmed
tags: added: area-horizon
Changed in mos:
milestone: 8.0-updates → 8.0-mu-3
assignee: MOS Maintenance (mos-maintenance) → Denis Meltsaykin (dmeltsaykin)
status: Confirmed → In Progress
Changed in mos:
assignee: Denis Meltsaykin (dmeltsaykin) → Scott Machtmes (smachtmes)
status: In Progress → Incomplete
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

It turns out that for Liberty the mentioned upstream bugfix is not applicable as is. Moreover, a user should change the DROPDOWN_MAX_ITEMS variable in local settings of horizon (See https://github.com/openstack/horizon/blob/stable/liberty/doc/source/topics/settings.rst#dropdown_max_items). With this setting adjusted to the actual value the scroll bar in the project drop-down menu is not needed as the list will contain all projects and be fully visible.

Scott, could you please add more details here? What is expected behavior? Is adjustment of DROPDOWN_MAX_ITEMS enough to close the issue?

Changed in mos:
milestone: 8.0-mu-3 → 8.0-updates
Revision history for this message
Scott Machtmes (smachtmes) wrote :

I will check with the end-customer and provide an update.

Revision history for this message
Scott Machtmes (smachtmes) wrote :

The customer has set the MAX_DROPDOWN_ITEMS value and this seems acceptable to them. I will close the issue.

Changed in mos:
status: Incomplete → Invalid
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (openstack-ci/fuel-8.0/liberty)

Change abandoned by Denis V. Meltsaykin <email address hidden> on branch: openstack-ci/fuel-8.0/liberty
Review: https://review.fuel-infra.org/25511

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.