discourse/plugins/discourse-solved
Sérgio Saquetim dfc0798a6e
DEV: Enhance how the Solve plugin displays the accepted answer (#33757)
Enhanced the `solved` plugin with comprehensive improvements to solution
handling and UI components:

- Use the `PostQuotedContent` core component for rendering accepted
answers
- Added `@tracked` state management for solution acceptance UI
- Refactored `acceptPost` and `unacceptPost` functions with better error
handling
- Updated topic models to safely track accepted solutions
- Added MessageBus integration for secure message publishing
- Improved test coverage adding MessageBus verification and system tests
for accepting/unaccepting answers.
2025-07-23 12:01:35 -03:00
..
app DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
assets DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
config Update translations (#33788) 2025-07-23 12:39:43 +02:00
db
lib DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
spec DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
test/javascripts DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
about.json
plugin.rb DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
README.md

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