Bug 1739264 - [RFE] Add ability to clear filter for Saved Reports
Summary: [RFE] Add ability to clear filter for Saved Reports
Keywords:
Status: POST
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.z
Assignee: Milan Zázrivec
QA Contact: Nandini Chandra
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-08 22:15 UTC by Nandini Chandra
Modified: 2023-05-31 23:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Category: Feature
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of Host Memory trends Optimization report (56.57 KB, image/png)
2019-08-08 22:15 UTC, Nandini Chandra
no flags Details
screen shot of 'clear filters' in SUI (15.56 KB, image/png)
2019-08-08 22:20 UTC, Nandini Chandra
no flags Details

Description Nandini Chandra 2019-08-08 22:15:34 UTC
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:
----------------

Comment 2 Nandini Chandra 2019-08-08 22:20:09 UTC
Created attachment 1601952 [details]
screen shot of 'clear filters' in SUI

Comment 4 Martin Povolny 2019-08-13 13:02:14 UTC
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.

Comment 8 CFME Bot 2019-08-16 13:27:03 UTC
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(-)


Note You need to log in before you can comment on or make changes to this bug.