Skip to content

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

UX: Update "education.dominating_topic" and raise default percentage (#19154)

Gerhard Schlagerc75b6cd999f6
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index b3c14cdae71..b998a286208 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -542,7 +542,7 @@ en:
It’s easier for everyone to read topics that have fewer in-depth replies versus lots of small, individual replies.
- dominating_topic: You’ve posted more than %{percent}% of the replies here; may we suggest you give other people an opportunity to chime in?
+ dominating_topic: You’ve posted a lot in this topic! Consider giving others an opportunity to reply here and discuss things with each other as well.
get_a_room: You’ve replied to @%{reply_username} %{count} times, did you know you could send them a personal message instead?
diff --git a/config/site_settings.yml b/config/site_settings.yml
index 33e32eb071d..0bb8f196161 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -2311,7 +2311,7 @@ uncategorized:
educate_until_posts: 2
sequential_replies_threshold: 2
get_a_room_threshold: 3
- dominating_topic_minimum_percent: 20
+ dominating_topic_minimum_percent: 40
disable_avatar_education_message: false
pm_warn_user_last_seen_months_ago: 24
diff --git a/lib/composer_messages_finder.rb b/lib/composer_messages_finder.rb
index 30acc8c7cda..510048d1db4 100644
--- a/lib/composer_messages_finder.rb
+++ b/lib/composer_messages_finder.rb
@@ -145,7 +145,7 @@ class ComposerMessagesFinder
templateName: 'dominating-topic',
wait_for_typing: true,
extraClass: 'education-message dominating-topic-message',
- body: PrettyText.cook(I18n.t('education.dominating_topic', percent: (ratio * 100).round))
+ body: PrettyText.cook(I18n.t('education.dominating_topic'))
}
end