trafficcontrol icon indicating copy to clipboard operation
trafficcontrol copied to clipboard

TP ag-grid tables - add a visible indicator if/when a table filter is being applied and easier way to clear filter

Open mitchell852 opened this issue 3 years ago • 4 comments

I'm submitting a ...

  • improvement request (usability, performance, tech debt, etc.)

Traffic Control components affected ...

  • Traffic Portal

Current behavior:

When a table filter is applied (either at the table level (quick search) or the column level), it's not very clear that a filter has been applied and it's confusing to the user why so few rows are being displayed. Also, not very intuitive how to clear the filter(s) as it's hidden under the More button.

image

New behavior:

Maybe a visual indicator if/when a table filter is applied? Maybe a filter button next to Delivery Services (for example) that is highlighted when filter is applied and a dropdown to remove any/all filters. Design is tbd.

Minimal reproduction of the problem with instructions:

Filter by the Quick Search global table filter and/or the column filters. Notice that it's easy to overlook them.

mitchell852 avatar Aug 03 '21 16:08 mitchell852

Screen Shot 2021-08-03 at 11 12 18 AM

There is a little filter indicator, but I agree it should probably be more prominent at least and easier to clear without having to go into More.

rawlinp avatar Aug 03 '21 17:08 rawlinp

a button was added to clear ALL filters (column filters and global table filter)

image

which is great but it doesn't give you any indication that one or more filters are currently being applied. i can't tell you how many times people get confused with the data in a table and forget they have filters applied.

mitchell852 avatar Jan 25 '24 16:01 mitchell852

i can't tell you how many times people get confused with the data in a table and forget they have filters applied.

Sounds like an excellent argument for not automatically re-applying previously used filters on pageload. Especially if filtering eventually updates the URL (which is planned), so you could just bookmark e.g. /core/servers?filter-profile=test

ocket8888 avatar Jan 25 '24 17:01 ocket8888

@ocket8888 i think it would be awesome to see the filters in the URL. that would (imo) be enough to satisfy the "need to be able to see if a filter is applied" requirement

mitchell852 avatar Jan 25 '24 17:01 mitchell852