discourse/plugins/discourse-solved
David Taylor 6081bc2249
DEV: Standardize Ember route, controller and template naming (#34417)
For historical reasons, Discourse has a customized Ember resolver. This
had a much more fuzzy implementation of 'normalize' and 'findTemplate'
functions. This leniency meant that our file naming hasn't always
matched Ember conventions.

Standardizing our naming will make things easier to understand for
developers, and will make adoption of newer ecosystem tooling easier
(e.g. route-based bundle splitting in Embroider/vite)

This commit adds deprecations to the resolver when this leniency is
used, and uses a fully bespoke codemod to rename all of the affected
routes/controllers/templates in the Discourse core repository.
Backwards-compatibility is maintained for anyone looking up the old
names in the resolver.
2025-09-25 11:27:45 +01:00
..
app DEV: Enhance how the Solve plugin displays the accepted answer (#33757) 2025-07-23 12:01:35 -03:00
assets DEV: Standardize Ember route, controller and template naming (#34417) 2025-09-25 11:27:45 +01:00
config Update translations (#34839) 2025-09-24 14:48:18 +02:00
db
lib FIX: Handle deleted users in solved topics gracefully (#34880) 2025-09-19 18:20:10 +02:00
spec FIX: Handle deleted users in solved topics gracefully (#34880) 2025-09-19 18:20:10 +02: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: Clean up requires (#34946) 2025-09-24 12:00:22 +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