Bug 1428536

Summary: VM Chargeback Preview Report needs better formatting
Product: Red Hat CloudForms Management Engine Reporter: Nandini Chandra <nachandr>
Component: ReportingAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, jhardy, lpichler, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: chargeback
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:02:25 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:
Attachments:
Description Flags
Screen shot of Chargeback Preview report
none
screen shot of chargeback preview(verified by QE) none

Description Nandini Chandra 2017-03-02 18:57:41 UTC
Created attachment 1259254 [details]
Screen shot of Chargeback Preview report

Description of problem:
-----------------------
Some of the data displayed in the VM Chargeback Preview Report gets split across multiple rows.

See attached screen shot.

For eg: the day column shows the date and the date is split across 4 rows.
The column should be wide enough to fit the entire date.Also, note that this page already has a horizontal scroll bar.
Similarly, the data in columns such as CPU Used Cost, Total Cost gets split across multiple rows.


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


How reproducible:
-----------------
Always


Steps to Reproduce:
--------------------
1.Manage a provider.Enable C&U collection for the provider.
2.Collect data for at least 1 day.
3.From the VM summary page, click 'Monitoring', click 'Chargeback Review'.


Actual results:
---------------
Data in a few columns split across multiple rows.


Expected results:
----------------
Columns should be wide enough to fit the entire date.


Additional info:
----------------

Comment 4 CFME Bot 2018-04-06 13:06:16 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/e9ee14eab8b734489cb673d7fb98af25f3709435
commit e9ee14eab8b734489cb673d7fb98af25f3709435
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Mar 26 11:31:07 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Mar 26 11:31:07 2018 -0400

    Add 'breakable' optional argument to report_build_html_table method

    https://bugzilla.redhat.com/show_bug.cgi?id=1428536

    Add 'breakable' optional argument to report_build_html_table method
    for fixing bad formatting of VM Chargeback Preview Report table.

 lib/vmdb/global_methods.rb | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 5 CFME Bot 2018-04-06 13:07:25 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/e9ee14eab8b734489cb673d7fb98af25f3709435
commit e9ee14eab8b734489cb673d7fb98af25f3709435
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Mar 26 11:31:07 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Mar 26 11:31:07 2018 -0400

    Add 'breakable' optional argument to report_build_html_table method

    https://bugzilla.redhat.com/show_bug.cgi?id=1428536

    Add 'breakable' optional argument to report_build_html_table method
    for fixing bad formatting of VM Chargeback Preview Report table.

 lib/vmdb/global_methods.rb | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 CFME Bot 2018-04-06 13:07:34 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0ac6a3456427d288f46b9866056d2dc79613e2f0
commit 0ac6a3456427d288f46b9866056d2dc79613e2f0
Author:     Hilda Stastna <hstastna>
AuthorDate: Mon Mar 26 11:38:52 2018 -0400
Commit:     Hilda Stastna <hstastna>
CommitDate: Mon Mar 26 11:38:52 2018 -0400

    Add non-breakable class for VM Chargeback Preview Report table

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428536

    Add non-breakable class for VM Chargeback Preview Report table for better formatting.

 app/assets/stylesheets/patternfly_overrides.scss | 4 +
 1 file changed, 4 insertions(+)

Comment 7 Nandini Chandra 2018-07-17 18:04:36 UTC
Verified in 5.10.0.4

Comment 8 Nandini Chandra 2018-07-17 18:06:13 UTC
Created attachment 1459534 [details]
screen shot of chargeback preview(verified by QE)

Comment 10 errata-xmlrpc 2019-02-07 23:02:25 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, 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-2019:0212