mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 06:24:48 +08:00
The `AdminFilterControls` component isn't really admin specific, and I want to use it in more places. Renaming to `DFilterControls`. No backwards compat needed, it's only used in core + core plugins. Also add `customEmptyState` to `DFilterControls`, which allows caller to show a custom empty state for `DFilterControls` in a yield when the array of result items is empty, for cases where you might want to show e.g. a different message and CTA when the filter is empty. E.g. used in Kanban: <img width="1107" height="439" alt="image" src="https://github.com/user-attachments/assets/1466e4d9-ac4d-4c59-81e5-6e0e3e259c6f" /> |
||
|---|---|---|
| .. | ||
| acceptance | ||
| components | ||
| integration/components | ||
| unit/lib | ||