Allow accepted answers on topics
Go to file
Gabriel Grubba 9db72efb38
FEATURE: change status on unsolve & fix assign changes (#289)
* FEATURE: change status on unsolve & fix assign changes

When a topic is unsolved, it should have an option,
defined in the settings, to change its status to that state.

Fix assign changes when a topic was solved, previously it was
changing the assignee.

* DEV: Change names in tests and remove comments

* DEV: Update change status on solve implementation

Update tests to verify that the change status on solve feature is working as expected.
Change the implementation to loop throught the topic assignments and update the status.

* DEV: address review feedback
2024-05-08 15:17:45 -03:00
.github/workflows DEV: Update CI workflows (#222) 2023-01-10 18:57:57 +00:00
app FEATURE: Prevents assign notification & change status on solved (#285) 2024-04-26 13:21:09 -03:00
assets FIX: Nest combobox within LI element (#280) 2024-02-08 15:50:26 -06:00
config FEATURE: change status on unsolve & fix assign changes (#289) 2024-05-08 15:17:45 -03:00
db DEV: Change accept_all_solutions_trust_level to group setting (#276) 2024-01-23 11:45:32 +10:00
spec FEATURE: change status on unsolve & fix assign changes (#289) 2024-05-08 15:17:45 -03:00
test/javascripts/acceptance DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.discourse-compatibility FEATURE: add new custom status filters (#286) 2024-04-26 16:17:50 +02:00
.eslintrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.gitignore DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
.prettierrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
.rubocop.yml DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
.streerc DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
.template-lintrc.cjs DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
Gemfile DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
Gemfile.lock DEV: Fix new Rubocop offenses 2024-03-06 10:25:26 +01:00
LICENSE add License 2016-06-06 23:15:49 +05:30
README.md Update README.md 2018-01-27 09:16:32 +08:00
about.json FEATURE: Prevents assign notification & change status on solved (#285) 2024-04-26 13:21:09 -03:00
package.json DEV: Update linting (#275) 2024-01-16 17:50:43 +01:00
plugin.rb FEATURE: change status on unsolve & fix assign changes (#289) 2024-05-08 15:17:45 -03:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:01:20 +02:00
yarn.lock DEV: Update linting (#275) 2024-01-16 17:50:43 +01: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