discourse/config
Kris c544d7afa0
FEATURE: Add reusable AdminFilterControls component, apply to plugins and reports (#33706)
This creates a reusable filter component for admin areas that includes a
text filter and dropdown.

The component accepts an array to filter, an array of searchable
property names, and optional dropdown values. An additional option is
available if you'd like the default dropdown value to be something other
than "all."




It looks like this: 

<img width="2204" height="876" alt="image"
src="https://github.com/user-attachments/assets/48693634-6752-4078-8639-42fb1ac77679"
/>

The dropdown is optional, without it: 

<img width="1756" height="900" alt="image"
src="https://github.com/user-attachments/assets/ea9a7ae6-ae86-4cd8-8b99-4afc082f2ce5"
/>

When there are no matching filters, it provides a reset button: 

<img width="2188" height="394" alt="image"
src="https://github.com/user-attachments/assets/9e59218e-8040-41db-ba81-1dc2628429bb"
/>

I'll use this to replace occurrences of similar filters, we've added a
couple to the AI plugin.
2025-07-24 16:55:33 -04:00
..
environments DEV: Migrate from sprockets to propshaft for assets (#32475) 2025-04-30 08:59:32 +01:00
initializers DEV: Fix theme site setting flakiness part 2 (#33813) 2025-07-24 10:47:25 +10:00
locales FEATURE: Add reusable AdminFilterControls component, apply to plugins and reports (#33706) 2025-07-24 16:55:33 -04:00
application.rb DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
boot.rb PERF: Stop running bootsnap in development mode on all environments (#25737) 2024-02-19 11:33:52 +08:00
cdn.yml.sample Initial release of Discourse 2013-02-05 14:16:51 -05:00
database.yml DEV: Increase pool connections to 2 in test environment 2024-11-28 12:23:25 +01:00
deploy.rb.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
dev_defaults.yml DEV: Convert admin-incoming-email modal to component-based API (#22701) 2023-07-20 16:31:20 -05:00
discourse.config.sample enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00
discourse.pill.sample Improve bluepill sample config. 2014-01-31 16:09:35 -05:00
discourse_defaults.conf DEV: Support connecting to Redis with a username. (#31710) 2025-03-13 10:39:50 +08:00
environment.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
logrotate.conf Replace Clockwork with Sidetiq 2013-08-14 21:39:40 +02:00
multisite.yml.production-sample DEV: Remove db_id from sample multisite config. 2020-05-29 10:48:29 +08:00
nginx.sample.conf PERF: Enable brotli in NGINX (#32333) 2025-04-24 15:45:13 +01:00
projections.json DEV: Use .hbr for raw template file extension (#8883) 2020-02-11 13:38:12 -06:00
puma.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
routes.rb DEV: Upgrade Rails to version 8.0.2 2025-07-22 09:59:44 +02:00
sidekiq.yml FEATURE: introduce ultra_low priority queue 2019-01-17 14:53:19 +11:00
site_settings.yml DEV: Replace staff auto-group in settings (#33814) 2025-07-24 11:50:24 +08:00
spring.rb DEV: Apply syntax_tree formatting to config/* 2023-01-09 11:13:29 +00:00
thin.yml.sample Add sample Capistrano deployment files 2013-05-02 19:53:37 -07:00
unicorn.conf.rb DEV: Fix undefined method check_email_sync_heartbeat in unicorn conf (#30360) 2024-12-19 10:10:11 +08:00
unicorn_launcher FIX: Increase timeout when trying to reload unicorn. 2018-12-04 13:43:14 +08:00
unicorn_upstart.conf enough with the malloc limit, not needed 2016-05-25 21:09:07 +10:00