A platform for community discussion. Free, open, simple.
UX: Show topic map in topics without replies by default (#28468)
Jan Cernik5090a56aa231
diff --git a/config/site_settings.yml b/config/site_settings.ymlindex 3d5c6e80375..d652fd38422 100644--- a/config/site_settings.yml+++ b/config/site_settings.yml@@ -2991,7 +2991,7 @@ uncategorized:show_topic_map_in_topics_without_replies:client: true- default: false+ default: trueuser_preferences:default_email_digest_frequency:diff --git a/spec/system/topic_map_spec.rb b/spec/system/topic_map_spec.rbindex 7a642abc413..1a83c65122f 100644--- a/spec/system/topic_map_spec.rb+++ b/spec/system/topic_map_spec.rb@@ -20,8 +20,7 @@ describe "Topic Map", type: :system dosign_in(user)topic_page.visit_topic(topic)- # topic map only appears after at least 1 reply- expect(topic_page).to have_no_topic_map+ expect(topic_page).to have_topic_mapFabricate(:post, topic: topic, created_at: 2.day.ago)Fabricate(:post, topic: topic, created_at: 1.day.ago, like_count: 3)2.times { Fabricate(:post, topic: topic, created_at: 1.day.ago, like_count: 1) }