Natalie Tay 6e12858bde
FIX: Accepting another answer does not commit (#360)
When an answer already exists, clicking " Solution" on another post works, but does not commit.

This commit fixes that and also adds a test, and a transaction around accepting a solution (deleting the topic timer, previous user action, etc).
2025-04-07 11:42:36 +08:00
2025-04-03 00:05:10 +02:00
2025-04-04 17:24:25 +08:00
2020-09-04 13:22:22 +02:00
2024-10-14 13:55:10 +02:00
2024-01-16 17:50:43 +01:00
2025-03-17 12:00:55 +00:00
2025-02-24 11:24:22 +08:00
2025-03-17 12:00:55 +00:00
2025-03-17 12:00:55 +00:00
2018-01-27 09:16:32 +08: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

Description
Allow accepted answers on topics
Readme MIT 2 MiB
Languages
Ruby 73.8%
JavaScript 22.8%
Handlebars 1.8%
SCSS 1.6%