A platform for community discussion. Free, open, simple.
DEV: remove chat post reactions menu site setting (#44428)
David Battersby00dffdfad5fb
diff --git a/db/structure.sql b/db/structure.sqlindex f31896c87e0..4bd95ea7498 100644--- a/db/structure.sql+++ b/db/structure.sql@@ -25590,6 +25590,7 @@ ALTER TABLE ONLY public.ad_plugin_house_ads_groupsSET search_path TO "$user", public;INSERT INTO "schema_migrations" (version) VALUES+('20261009130230'),('20261009121104'),('20261007082151'),('20261006113418'),diff --git a/plugins/chat/config/locales/server.en.yml b/plugins/chat/config/locales/server.en.ymlindex cb1f7d38f81..fb5eb79ded8 100644--- a/plugins/chat/config/locales/server.en.yml+++ b/plugins/chat/config/locales/server.en.yml@@ -3,7 +3,6 @@ en:chat_separate_sidebar_mode: "Show separate sidebar modes for forum and chat."chat_enabled: "Enable chat."chat_pinned_messages: "Enable pinned messages in chat channels."- enable_new_chat_reactions_popup: "Enable the redesigned reactions popup on chat messages, showing who reacted with infinite scroll and a native mobile experience."enable_public_channels: "Enable public channels based on categories."chat_allowed_groups: "Users in these groups can chat, except anonymous users who can only view chat when added to this setting. Note that admins and moderators can always access chat."chat_channel_retention_days: "Chat messages in regular channels will be retained for this many days. Set to '0' to retain messages forever."diff --git a/plugins/chat/config/settings.yml b/plugins/chat/config/settings.ymlindex 3e7ed11e486..37442909d56 100644--- a/plugins/chat/config/settings.yml+++ b/plugins/chat/config/settings.yml@@ -10,14 +10,6 @@ chat:status: "stable"impact: "feature,all_members"learn_more_url: "https://meta.discourse.org/t/-/397571"- enable_new_chat_reactions_popup:- default: false- hidden: true- client: true- upcoming_change:- status: "permanent"- impact: "feature,all_members"- learn_more_url: "https://meta.discourse.org/t/-/406004"enable_public_channels:default: trueclient: truediff --git a/plugins/chat/db/post_migrate/20261009130230_remove_enable_new_chat_reactions_popup_setting.rb b/plugins/chat/db/post_migrate/20261009130230_remove_enable_new_chat_reactions_popup_setting.rbnew file mode 100644index 00000000000..e884252905e--- /dev/null+++ b/plugins/chat/db/post_migrate/20261009130230_remove_enable_new_chat_reactions_popup_setting.rb@@ -0,0 +1,16 @@+# frozen_string_literal: true+class RemoveEnableNewChatReactionsPopupSetting < ActiveRecord::Migration[8.1]+ def up+ execute(<<~SQL)+ DELETE FROM site_settings WHERE name = 'enable_new_chat_reactions_popup'+ SQL++ execute(<<~SQL)+ DELETE FROM site_setting_groups WHERE name = 'enable_new_chat_reactions_popup'+ SQL+ end++ def down+ raise ActiveRecord::IrreversibleMigration+ end+enddiff --git a/plugins/chat/public/images/upcoming_changes/enable_new_chat_reactions_popup.png b/plugins/chat/public/images/upcoming_changes/enable_new_chat_reactions_popup.pngdeleted file mode 100644index e1c7eb09650..00000000000Binary files a/plugins/chat/public/images/upcoming_changes/enable_new_chat_reactions_popup.png and /dev/null differ