Created attachment 1601951 [details] screenshot of Host Memory trends Optimization report Description of problem: -------------------------- It's possible to filter through the available fields while viewing reports under Optimization. But, it's not possible to clear the filter.See attached screen shot. I'd like the ability to clear the filter.I have attached an example from the SUI where filters can be cleared. Version-Release number of selected component (if applicable): ------------------------------------------------------------ 5.11.0.17 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Navigate to the Overview -> Optimization page. 2.Select any report, for eg: Daily Performance - Host Memory 3.Select a filter, for eg: Asset name and enter a string to filter through. Actual results: --------------- No clear filter option available Expected results: ----------------- Clear filter option should be available Additional info: ----------------
Created attachment 1601952 [details] screen shot of 'clear filters' in SUI
How to remove the filter: 1. Remove the text in the filter field 2. and press enter. Do we need a separate button to do that? Moreover we will be implementing filtering by multiple fields (once the API supports it) and in the UI for the multiple field filtering there are small [x] marks for each filtering field to remove it from the filter so that will solve the issue in a more UX friendly way.
https://github.com/ManageIQ/manageiq-ui-classic/pull/6028
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/6449daf5e089ff61bd2f7c178a11fa07a24320d2 commit 6449daf5e089ff61bd2f7c178a11fa07a24320d2 Author: Martin Povolny <mpovolny> AuthorDate: Wed Aug 14 15:33:06 2019 -0400 Commit: Martin Povolny <mpovolny> CommitDate: Wed Aug 14 15:33:06 2019 -0400 Report data: add display of active filter. Add empty state. The active filter display allows one click clearing of the filters as requested by a BZ. https://bugzilla.redhat.com/show_bug.cgi?id=1739264 The display of active filter is partly ready for the multi-criteria filtering, once it's available in the API. When there are no records, no grid and no paginator is displayed. Instead an empty state component with a message is displayed. https://bugzilla.redhat.com/show_bug.cgi?id=1740055 app/javascript/components/report-data-table.jsx | 236 +- 1 file changed, 155 insertions(+), 81 deletions(-)