Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2255426 - [RFE] Expanding a section should collapse other expanded sections
Summary: [RFE] Expanding a section should collapse other expanded sections
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Navigation
Version: 6.15.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: 6.15.0
Assignee: Maria
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-20 17:40 UTC by Taft Sanders
Modified: 2024-04-23 17:16 UTC (History)
5 users (show)

Fixed In Version: foreman-3.9.1.2-1,foreman-3.9.1.4-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:16:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 37025 0 Normal Ready For Testing Expanding a section should collapse other expanded sections 2024-01-04 14:56:41 UTC
Foreman Issue Tracker 37067 0 Normal Ready For Testing closing parent nav should also close child nav 2024-01-19 14:58:04 UTC
Red Hat Issue Tracker SAT-22080 0 None None None 2023-12-20 17:41:44 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:16:37 UTC

Description Taft Sanders 2023-12-20 17:40:27 UTC
Description of problem:
To reduce navigation and provide better ease of use, the left navigation bar 'id="page-sidebar"' should collapse any expanded sections when expanding a new collapsed section.

Version-Release number of selected component (if applicable):
Satellite 6.15 snap 3

How reproducible:
n/a

Steps to Reproduce:
1.
2.
3.

Actual results:
Navigation bar is static and previously expanded sections stay expanded upon expanding a new section

Expected results:
Previously expanded sections should collapse to reduce navigation for users

Additional info:
I believe it would also help to collapse child sections upon collapsing parent sections as well.
IE: If I expand parent section "Monitor" and child section "Reports", then expand parent section "Content", parent section "Monitor" should collapse. Upon expanding "Monitor" section again, child section "Reports" should not be expanded.

Comment 2 Maria 2024-01-04 14:56:40 UTC
Connecting redmine issue https://projects.theforeman.org/issues/37025 from this bug

Comment 3 Bryan Kearney 2024-01-04 16:03:04 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/37025 has been resolved.

Comment 6 Pavel Novotny 2024-01-17 12:52:52 UTC
Satellite 6.15 snap 6:
satellite-6.15.0-2.el8sat.noarch
foreman-3.9.1.2-1.el8sat.noarch

Moving from one main section to another now collapses the previous section. 


This applies only to main sections. Any expanded child sections stay expanded when moving between main sections. This is in contradiction with a case from comment 0:

> I believe it would also help to collapse child sections upon collapsing parent sections as well.
> IE: If I expand parent section "Monitor" and child section "Reports", then expand parent section "Content", parent section "Monitor" should collapse. Upon expanding "Monitor" section again, child section "Reports" should not be expanded.

@magaphon What should be the "correct" behavior for the child sections?

Comment 7 Maria 2024-01-19 14:58:05 UTC
Made a fix to address secondary menus as well

Comment 10 Pavel Novotny 2024-02-01 21:31:47 UTC
Verified in Sat 6.15 snap 8:
satellite-6.15.0-2.el8sat.noarch
foreman-3.9.1.5-1.el8sat.noarch

Collapsing other sections now works also for child sections - in the same main menu as well as moving to another main menu and going back.

Comment 13 errata-xmlrpc 2024-04-23 17:16:36 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 (Important: Satellite 6.15.0 release), 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/RHSA-2024:2010


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