0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/plugins/discourse-data-explorer/test/javascripts/acceptance
Martin Brennan 2062faef44
DEV: Rename AdminFilterControls to DFilterControls (#41719)
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"
/>
2026-07-16 07:53:06 +10:00
..
list-queries-test.js DEV: Rename AdminFilterControls to DFilterControls (#41719) 2026-07-16 07:53:06 +10:00
new-query-test.js DEV: Turn on AI data explorer queries by default (#41581) 2026-07-09 13:49:10 +08:00
param-input-test.js UI: Update manual data explorer query page (step 3/n) (#40190) 2026-05-21 01:24:30 +08:00
run-query-test.js UI: Update manual data explorer query page (step 3/n) (#40190) 2026-05-21 01:24:30 +08:00