0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 13:08:40 +08:00
discourse/plugins/discourse-solved
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
..
admin/assets/javascripts FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
app FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
assets FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
config FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
db DEV: add upcoming change for Solved badges (#41613) 2026-07-15 18:15:07 +04:00
lib FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
public/images/upcoming_changes FEATURE: add solved me too button (#39652) 2026-05-13 17:03:25 +04:00
spec FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
test/javascripts FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
about.json
package.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00
plugin.rb FEATURE: Let plugins register persistable admin dashboard section settings (#41843) 2026-07-22 18:00:38 +03:00
README.md
tsconfig.json DEV: Add a script for generating external types in discourse-types (#37095) 2026-03-09 20:37:43 +01:00

Discourse Solved

Provides a solved button on designated categories

How to Install this Plugin

To install Discourse Plugin - https://meta.discourse.org/t/install-a-plugin/19157

How to Check if Plugin is installed

Go to Admin > Plugins

You should now see:

screen shot 2018-01-27 at 9 09 47 am

What to expect if Plugin is installed

Inside the Plugins, you will have the following options:

screen shot 2018-01-27 at 8 57 35 am

How to enable it in your posts

New Categories - Check Allow topic owner and staff to mark a reply as the solution

test2

Old Categories - Go to that Category > Edit > Settings > Check Allow topic owner and staff to mark a reply as the solution

BONUS: How to add badges to those who answered correctly

https://meta.discourse.org/t/discourse-solved-accepted-answer-plugin/30155

License

MIT