Bug 1393619

Summary: system subscriptions ui - Sort by column takes long time and misses loader/spinner indication.
Product: Red Hat Satellite Reporter: Bruno Rocha <rochacbruno>
Component: Subscription ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.3.0CC: bbuckingham, bkearney, jsherril
Target Milestone: UnspecifiedKeywords: Performance, Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-02 14:58:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
sort takes 4 seconds
none
Ajax loader is missing (screen record) none

Description Bruno Rocha 2016-11-10 01:53:54 UTC
Description of problem:

In /subscriptions/ID/info

After clicking in the column to sort by "Consumed" the sort is performed via ajax call which can take more than 4 seconds with few subscriptions. the page did not show a loader or spinner indicating for the user that ajax call is being performed.


Version-Release number of selected component (if applicable):

satellite-6.3.0-6.1.beta.el7sat.noarch - RHEL6 and RHEL7

How reproducible:

Chrome and Firefox in a system having 4+ subscriptions

Steps to Reproduce:
1. Having 4 or more subscriptions (as shown in the attachments)
2. Go to /subscriptions/ID/info
3. In the left panel click in "Consumed" column to sort
4. Have Chrome console/network opened to see time taken
5. Note that there is no loader or spinner indicating the ajax call is being performed.

Actual results:

Takes long time, no visual loader shown.

Expected results:

Quickly results or a loader or spinner indicating that action is being performed.

Additional info:
Image and screen record attached

Comment 1 Bruno Rocha 2016-11-10 01:54:59 UTC
Created attachment 1219125 [details]
sort takes 4 seconds

Comment 2 Bruno Rocha 2016-11-10 01:55:59 UTC
Created attachment 1219126 [details]
Ajax loader is missing (screen record)

Comment 4 Justin Sherrill 2018-03-02 14:58:52 UTC
This is resolved in 6.3.0.  This column was not meant to be sortable and was only sortable in this details view (where it doesn't make sense to sort).  Since the two-pane pattern is gone, closing this.