… a data view has framed a collection, and the actor's question concerns only part of it. There are too many items to scan, and the actor can say what distinguishes the ones they want.
Problem
When the actor wants only the items in a large collection that share some properties, scanning or sorting the whole list is slow, and they miss items they were looking for.
Design systems such as PatternFly, GitLab Pajamas and Carbon show the filters in force as removable chips or tokens above the results, with a way to clear them all.
Solution
Let the actor narrow the collection by stating filter conditions on the properties its items record, each one a bounded choice over a property’s values, and update the shown items as each condition changes. Keep every condition in force beside the results as a chip or clause the actor can read, change or remove on its own, with a way to clear them all, and say how many items are shown out of how many. When nothing matches, keep the conditions in place and show which ones emptied the list.
Continuation
Build each condition's value picker as a bounded choice over the property's known values, and pair the filtered view with sorting and grouping so the actor can order and arrange what the conditions let through. When no items match, keep the active conditions in view inside the empty state and show which one emptied the list. Where conditions have to be combined with and, or and not, or saved to run again later, hand off to rule composition; where the actor types a criterion that no recorded property names, pass the unfinished query on through an agent fallback…
All connections
- Complements
- Attribute visibility — surface then operate: an attribute made visible becomes a predicate to filter by
- Autocomplete — “Pair the same narrowing list with searching in a query box, with filtering inside a filter clause, and with a command menu to locate actions and navigation targets.”
- Grouping, sorting — Build each condition's value picker as a bounded choice over the property's known values, and pair the filtered view with sorting and grouping so the actor can order and arrange what the conditions let through.
- Selection — filtering narrows a collection by condition, while selection picks items one by one
- Pyramid — for large collections
- Remembered state — “Keep active criteria visible on the surface through filtering so a restored filter never looks like missing data.”
- Rule composition — Where conditions have to be combined with and, or and not, or saved to run again later, hand off to rule composition; where the actor types a criterion that no recorded property names, pass the unfinished query on through an agent fallback
- Searching — “On the results, pair the ranked list with suggestions for query refinements, filtering over facets to narrow the set in place, and navigation when the query falls short.”
- Showing the reading — “Where the request maps onto structured criteria, render the reading as editable filtering controls so individual terms can be adjusted in place.”
- Preceded by
- Data view — acts on the framed collection the view already holds
- Tagging — “Turn every applied label into an active facet for filtering so selecting a tag narrows the collection directly, and index all tags in searching so queries match items by label as well as by name or content.”
- Enabled by
- Agent fallback
- Bounded choice
- Acts on
- Filtering
- Appears in
- Composing views: Framing the collection, step 5
- Related components
- Command menu — a palette over attributes and values, with hierarchical drill-in and AI fallback
- Combobox — the value-picker inside each active filter chip uses a combobox to narrow available values
In practice
Placement
- inline, popover, drawer…
- pairing with table header
Navigation as filtering
…
LLM-powered attribute search
When no attribute matches what the actor types, the query is passed to a language model to find a match among the available attributes.
If that fails, the actor can hand the filtering to an agent as a task. The agent can reach data beyond the attributes and values the actor sees.
Flow 1
- Enter a query that does not have a match in the available attributes
- Create a task to handle it
- Show “thinking…” placeholder
- Replace it with a task result reference.
Flow 2
- Create a task outside filtering whose result can be used to filter the collection.
- Follow steps 3-4 from Flow 1.
Resources & references
- Patternfly / Filters
- Gitlab Pajamas / Filtering
- IBM Carbon / Filtering
- Salesforce Lightning / Rules, filters, and logic