WarUI

Filter status chips

GRID-A10-F20P1beyond-baselinePlanned

A chip bar summarizes each active filter (column, quick search, external label) as a removable chip. A 'Clear all' action removes every filter. Chips make the filtered state obvious and reversible with one action.

Planned. This page shows the specification from issue #187. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with 3 active column filters and a quick search. The chip bar is shown above the grid.

Expected behavior

Each active filter shows as a chip. Removing a chip clears only that filter. Activating a chip's label opens that column's filter popup. Clear all removes every filter, including quick search, and offers Undo.

Planned API surface

showFilterChipsfilterChipsContainerfilterChipFormatterclearAllFilters()clearFilter(colId)onFilterChipRemoved

Acceptance criteria

  • One chip is rendered per active column filter, plus one chip for quick search and one per labelled external filter. (pending)
  • Removing a chip calls clearFilter for that source only and fires onFilterChipRemoved. (pending)
  • clearAllFilters clears column filters, quick search and the query builder, and leaves external filters to the app. (pending)
  • Undo after Clear all restores the previous full filter state within the same session. (pending)
  • Chips update immediately whenever the filter model changes, whatever the source. (pending)