0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/discourse-topic-voting/spec/system
Krzysztof Kotlarek 82634c97ac
FIX: Don't reset customized site settings when new category (#41864)
Previously, the category creation form prefilled category type site
settings with the type's recommended defaults, so creating another
category of the same type (e.g. Ideas) silently reset any values the
admin had customized — and logged the reset in the staff action log
under their name.

This change serializes an `overridden` flag with each setting in the
configuration schema and makes the form prefill the current value for
overridden settings, only suggesting the recommended default for
settings the admin has never customized.

Before it worked correctly when category was edited.
2026-07-21 14:33:07 +08:00
..
page_objects/pages FIX: Show the voting notification prompt when vote limits are disabled (#41731) 2026-07-15 14:54:37 +02:00
anonymous_user_vote_topic_spec.rb DEV: Fix anonymous-related spec flakes (#40502) 2026-06-03 11:37:17 +02:00
core_features_spec.rb
ideas_category_type_setup_spec.rb FIX: Don't reset customized site settings when new category (#41864) 2026-07-21 14:33:07 +08:00
voting_spec.rb FIX: Show the voting notification prompt when vote limits are disabled (#41731) 2026-07-15 14:54:37 +02:00