mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 19:53:42 +08:00
Moves `notify_on_staff_accept_solved` and `empty_box_on_solved` to category custom fields instead of site settings, so they can be configured per category. We are doing this because these things because we believe they should be configurable per-category rather than globally: <img width="1035" height="670" alt="image" src="https://github.com/user-attachments/assets/74f1c550-1d83-4c2b-83e2-b521731df123" /> For the migration, we create the custom field values either using the existing site setting values or the site setting defaults for all categories where the custom field `enable_accepted_answers` is set to `true` (which is what designates a Support category) If `allow_solved_on_all_topics` is enabled on the site, then we have to make the custom fields for all categories --------- Co-authored-by: Régis Hanol <regis@hanol.fr> |
||
|---|---|---|
| .. | ||
| solved_spec.rb | ||