Skip to content

A platform for community discussion. Free, open, simple.

FEATURE: Enable reactions by default via upcoming change (#39250)

Martin Brennanb7e660dd5010
diff --git a/plugins/discourse-reactions/config/locales/server.en.yml b/plugins/discourse-reactions/config/locales/server.en.yml
index 8cefdf9d4a0..822bc46cb90 100644
--- a/plugins/discourse-reactions/config/locales/server.en.yml
+++ b/plugins/discourse-reactions/config/locales/server.en.yml
@@ -9,6 +9,7 @@ en:
discourse_reactions_excluded_from_like: "Reactions that do not count as a Like. Any reactions that are not on this list will count as a Like for badges, reporting, and other purposes."
discourse_reactions_like_sync_enabled: "If this is enabled, historical reactions will have their matching Like records created, except those reactions defined in `discourse_reactions_excluded_from_like`. This sync will happen on a regular basis in the background, and also when you change `discourse_reactions_excluded_from_like`."
discourse_reactions_allow_any_emoji: "If this is enabled, will add a button allowing users to select any emoji in the reactions picker. Members will be allowed to choose any emoji, including custom emoji, for reactions. To limit available reactions, use the `emoji_deny_list` site setting."
+ enable_discourse_reactions_by_default: "Changes the default value for the `discourse_reactions_enabled` setting from disabled to enabled when this upcoming change is enabled."
errors:
invalid_excluded_emoji: "You cannot exclude emojis that are not in 'discourse reactions enabled reactions' (except built-in default exclusions), and you cannot exclude the emoji used for 'discourse reactions reaction for like'."
badges:
diff --git a/plugins/discourse-reactions/config/settings.yml b/plugins/discourse-reactions/config/settings.yml
index 95a20a530da..212b9870d07 100644
--- a/plugins/discourse-reactions/config/settings.yml
+++ b/plugins/discourse-reactions/config/settings.yml
@@ -2,6 +2,9 @@ discourse_reactions:
discourse_reactions_enabled:
default: false
client: true
+ upcoming_change_default_override:
+ upcoming_change: "enable_discourse_reactions_by_default"
+ new_default: true
discourse_reactions_like_icon:
client: true
type: icon
@@ -31,6 +34,14 @@ discourse_reactions:
default: false
client: true
area: "emojis"
+ enable_discourse_reactions_by_default:
+ default: false
+ hidden: true
+ client: true
+ upcoming_change:
+ status: "experimental"
+ impact: "site_setting_default,all_members"
+ learn_more_url: "https://meta.discourse.org/t/-/403795"
enable_new_post_reply_count_position:
default: false
client: true