0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/lib/plugin
Osama Sayegh 2eb203bb4a
FEATURE: Let plugins register persistable admin dashboard section settings (#41843)
`register_admin_dashboard_section` now accepts an optional `settings:`
map of setting key to a class exposing `.permit`/`.validate`, so a
plugin section can save its own filter selections through the same `PUT
/admin/dashboard/sections/:id/settings/:key` mechanism core sections
already use, instead of that mechanism being core-only.

discourse-solved's "Support" section now uses this: its category filter
is genuinely multi-select (like Who's posting/Activity by category) and
persists per-site, including converting the `accepted_solutions`
report's category filter from a single id to a list.
2026-07-22 18:00:38 +03:00
..
filter.rb
filter_manager.rb
instance.rb FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
js_compiler.rb DEV: Increase plugin_manager timout, and improve error message (#38874) 2026-03-25 15:43:07 +00:00
js_manager.rb DEV: add typescript support for core, themes and plugins (#41478) 2026-07-08 12:57:18 +01:00
metadata.rb DEV: Enable Style/RedundantSelf rubocop rule (#40098) 2026-05-19 19:27:45 +02:00