Bug 1070981

Summary: Auto fit columns used in platform utilization report results in unreadable column data
Product: [JBoss] JBoss Operations Network Reporter: Marc Shirley <mshirley>
Component: UIAssignee: Michael Burman <miburman>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: low Docs Contact:
Priority: unspecified    
Version: JON 3.2CC: loleary, mfoley, miburman, mkoci, tsegismo
Target Milestone: ER03   
Target Release: JON 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A bug with how the "Auto Fit All Columns" or "Auto Fit" view options on graphic columns rendered in the UI caused issues with displaying all data. Users who attempted to access the Reports > Platform Utilization report and selected Auto Fit observed that the CPU, Memory, and Swap columns became unreadable. The fix to the column view behavior now ensures the Auto Fit options resize the columns to fit in the value, the percent sign and the graph.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:00:30 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:
Embargoed:

Description Marc Shirley 2014-02-27 20:44:46 UTC
Description of problem:
Using "Auto Fit All Columns" or "Auto Fit" on graphic columns results in unreadable data.  For example, in the Platform Utilization report, after using Auto Fit, the CPU, Memory, and Swap columns are unreadable.

Version-Release number of selected component (if applicable):
JBoss Operations Network (ON) 3.2.0

How reproducible:
Very

Steps to Reproduce:
1. Navigate to the Reports -> Platform Utilization page
2. Use the context menu for a column to use the "Auto Fit All Columns" action

Actual results:
CPU, Memory, and Swap columns are collapsed too narrowly and are unreadable.

Expected results:
The column should be fit to at least display the percentage value in a readable format, if not showing the graph in a readable state.

Comment 1 Michael Burman 2014-09-02 22:18:20 UTC
Fixed in master:

commit 26362a38ca2d9abde08cd11b4adad4d22dedbd47
Author: Michael Burman <miburman>
Date:   Wed Sep 3 01:08:35 2014 +0300

    [BZ 1070981] Use both title and data for autofit

Comment 2 Thomas Segismont 2014-09-10 15:31:19 UTC
Cherry-picked over to release/jon3.3.x

commit 95d724d6412740b500891aa0f1f2d19f66d6c49b
Author: Michael Burman <miburman>
Date:   Wed Sep 3 01:08:35 2014 +0300

    [BZ 1070981] Use both title and data for autofit
    
    (cherry picked from commit 26362a38ca2d9abde08cd11b4adad4d22dedbd47)
    Signed-off-by: Thomas Segismont <tsegismo>

Comment 3 Simeon Pinder 2014-09-17 02:49:32 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=385149

Comment 4 Jan Bednarik 2014-09-18 12:55:48 UTC
Moving to VERIFIED.

After clicking on Auto Fit the columns are only as narrow to fit in the value, the percent sign and the graph.

Version:3.3.0.ER03
Build Number:4aefe39:44e33a4