Allow accepted answers on topics
Go to file
David Taylor 56d936be63
FIX: Correct getOwner import (#260)
As it's currently implemented, the fallback is essential here. `this` in a static method is `undefined`, and therefore cannot have an owner.

Unfortunately this plugin outlet does not seem to be tested in the plugin's own test suite. Core's test suite picked up this issue.

Followup to 3a0b46da7a
2023-10-17 23:37:07 +01:00
.github/workflows DEV: Update CI workflows (#222) 2023-01-10 18:57:57 +00:00
app FIX: delete solution with post (#256) 2023-10-13 19:06:03 +02:00
assets FIX: Correct getOwner import (#260) 2023-10-17 23:37:07 +01:00
config Update translations (#258) 2023-10-17 11:08:50 -04:00
db DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
spec FIX: delete solution with post (#256) 2023-10-13 19:06:03 +02:00
test/javascripts/acceptance DEV: fix linting issue (#204) 2022-08-18 17:49:26 +04:00
.discourse-compatibility FIX: granular webhooks (#248) 2023-10-09 03:26:29 +00:00
.eslintrc DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
.gitignore DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
.prettierrc DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02: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.js DEV: apply coding standards (#90) 2020-09-04 13:22:22 +02:00
Gemfile DEV: Introduce syntax_tree for ruby formatting (#217) 2022-12-23 20:36:08 +00:00
Gemfile.lock DEV: Introduce syntax_tree for ruby formatting (#218) 2022-12-29 13:34:47 +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
package.json DEV: Update eslint config (#238) 2023-05-26 14:30:43 -05:00
plugin.rb FIX: delete solution with post (#256) 2023-10-13 19:06:03 +02:00
translator.yml DEV: Switch from Transifex to Crowdin 2020-07-16 14:01:20 +02:00
yarn.lock Bump word-wrap from 1.2.3 to 1.2.4 (#246) 2023-07-19 01:31:42 +02: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