Red Hat Bugzilla – Bug 1476305
Reports type dashboard widgets cannot be minimized
Last modified: 2018-03-06 09:39:52 EST
Description of problem:
As subject says, report type dashboard widgets cannot be minimized due to wrong HTML code in place.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get on the dashboard (after login) and once the table in "Top CPU consumers (weekly)" is present, try minimizing the widget (using the kebab select in top right corner of the widget)
No minimization happens, yet the menu item in the kebab switches to Maximize (which again only flips the menu item)
Widget gets minimized
I identified the issue as this widget has the table placed *outside* of <div class="mc" ...> unlike other widgets which work.
New commit detected on ManageIQ/manageiq-ui-classic/master:
Author: Milan Falešník <firstname.lastname@example.org>
AuthorDate: Fri Jul 28 17:03:53 2017 +0200
Commit: Milan Falešník <email@example.com>
CommitDate: Fri Jul 28 17:03:53 2017 +0200
Fix HAML indentation for Report Widget fragment
Missing indentation caused the widget content being outisde of the div.mc which handles minimizing, therefore minimizing and maximizing of the widget did not work.
app/views/dashboard/_widget_report.html.haml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Verified in 126.96.36.199