Filtering results
Rendering facets over a query's aggregations, and turning clicks into filters — the aggregation family, the filters bar and its overflow, and what ends up applied.
A search rarely stays a plain text query. The user ticks "PDF only", expands a folder in a tree, picks "last month" — each facet renders one aggregation of the query's result, and clicking an item turns into a filter on the next query. This section covers that whole loop: rendering a facet, applying and clearing its selection, and showing the user what is currently filtered.
What's next
Aggregation
Render a facet as a list, a tree or a date range, and turn a click into an applied filter.
Aggregation date
The date variant's preset options and custom-range dialog, live or deferred.
Filters bar
One popover button per authorized facet, with overflow handled by More.
Filter button
The single-facet popover the bar renders one of.
More
Filters beyond the bar's visible count — popover, Dialog, or a mobile Sheet.
Aside filters
The same stacked facets, in a persistent sidebar accordion.
Applied filters
What the query is currently filtered by — one removable chip per value.
Signed Out
The post-logout confirmation shown on /logout — breaks the re-authentication loop that rendering the sign-in form there would cause in external auth modes.
Aggregation
Render a facet as a list, a tree or a date range from a query's aggregations, and turn a click into an applied filter — with a custom item template or full control over the data.