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. |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| config | ||
| db | ||
| lib | ||
| spec | ||
| test/javascripts | ||
| about.json | ||
| plugin.rb | ||
| 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:
What to expect if Plugin is installed
Inside the Plugins, you will have the following options:
How to enable it in your posts
New Categories - Check ✅ Allow topic owner and staff to mark a reply as the solution
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


