Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 786530

Summary: RFE - add expand/collapse all on katello sync mgmt page
Product: Red Hat Satellite Reporter: James Laska <jlaska>
Component: WebUIAssignee: Jason E. Rist <jrist>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: bkearney, jturner, mmccune
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 20:55:01 UTC Type: ---
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
Screenshot none

Description James Laska 2012-02-01 17:26:06 UTC
Created attachment 558878 [details]
Screenshot

Description of problem:

On a katello instance with multiple custom provider products and repos, along with numerous enabled RHEL repositories ... the user-interface for drilling down in the tree view requires too many clicks (see attached screenshot).  I could simply click "Select all", but that's not always desired when you have a mix of synced and unsynced repositories.

It would be great to have some sort of expand/collapse all option.

Version-Release number of selected component (if applicable):
 * candlepin-0.5.14-1.el6.src.rpm
 * katello-0.1.200-3.el6.src.rpm
 * katello-certs-tools-1.0.2-2.el6.src.rpm
 * katello-cli-0.1.44-2.el6.src.rpm
 * katello-configure-0.1.55-2.el6.src.rpm
 * katello-httpd-ssl-key-pair-1.0-1.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-selinux-0.1.3-1.el6.src.rpm
 * katello-trusted-ssl-cert-1.0-1.src.rpm
 * pulp-0.0.256-1.el6.src.rpm

How reproducible:
 * pretty straight forward

Steps to Reproduce:
1. Import a manifest
2. Enable a lot of RHEL repos
3. Add multiple custom provider products and repos
4. Visit the Sync management page
  
Actual results:

 * See attached screenshot ... it requires too many clicks to drill

Expected results:

 * Some quick link(s) to expand and collapse the repository tree

Additional info:

Comment 1 James Laska 2012-02-01 17:29:30 UTC
Perhaps it makes sense to combine the existing "[ ] Only show syncing" into some gmail-like selection widget (http://googlesystem.blogspot.com/2010/08/on-gmails-widget-for-selecting-messages.html).

For example, the following might save screen real-estate.

+--------------------+
|[ ] View options ...|
+--------------------+
|   Show all         |
|   Show Synced      |
|   Show Syncing     |
|   Hide all         |
+--------------------+

Comment 2 James Laska 2012-02-01 17:32:38 UTC
Extending the previous comment might work for the repo selection choice as well.  For example, instead of having *both* "Select None" and "Select all"

+--------------------+ 
|[ ] View options ...|
+--------------------+
|   Show all         |
|   Show Synced      |
|   Show Syncing     |
|   Hide all         |
+--------------------+

Comment 3 James Laska 2012-02-01 17:36:33 UTC
Ergh, please ignore comment#2.  You get the idea :)

Comment 4 Jason E. Rist 2012-02-17 15:43:17 UTC
commit db51694bbee73bce296e63ca4c95998913029360
Author: Shannon Hughes <shughes>
Date:   Wed Feb 1 12:04:49 2012 -0500

    758441: add expand/collapse support to sync product repos

Comment 5 James Laska 2012-02-17 16:05:06 UTC
Thanks Jason, I've VERIFIED this support exists in katello-0.1.238-4.el6.noarch.

The Sync page lists the following links:
 * Collapse All
 * Expand All
 * Select None
 * Select All
 * [ ] Only Show syncing

Maybe this could be cleaned up in the future to reduce the onscreen noise.  But for now, the itch has been scratched.

Comment 6 Mike McCune 2013-08-16 18:08:22 UTC
getting rid of 6.0.0 version since that doesn't exist