Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Rename "more topics" to "all topics".
Kislay Verma2c98263d4c34
diff --git a/help/include/left-sidebar-conversations.md b/help/include/left-sidebar-conversations.mdindex 374593e5c5c..8242558a3bc 100644--- a/help/include/left-sidebar-conversations.md+++ b/help/include/left-sidebar-conversations.md@@ -12,7 +12,7 @@ and the channels you are subscribed to.!!! tip ""- To see all conversations, click on **more conversations** (in direct messages) or **more topics**+ To see all conversations, click on **more conversations** (in direct messages) or **show all topics**(in a channel).{end_tabs}diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.pyindex f83040478d0..ca91936269d 100644--- a/tools/lib/capitalization.py+++ b/tools/lib/capitalization.py@@ -91,7 +91,7 @@ IGNORED_PHRASES = [r"find accounts for another email address",# SPECIAL CASES# Because topics usually are lower-case, this would look weird if it were capitalized- r"more topics",+ r"show all topics",# Used alone in a parenthetical where capitalized looks worse.r"^deprecated$",# We want the similar text in the Private Messages section to have the same capitalization.diff --git a/web/src/topic_list_data.ts b/web/src/topic_list_data.tsindex abf7e4be8eb..af72ef9e62d 100644--- a/web/src/topic_list_data.ts+++ b/web/src/topic_list_data.ts@@ -98,7 +98,7 @@ function choose_topics(// Otherwise, we don't show the topic in the// unzoomed view. We might display its unread- // count in in "more topics" if it is not muted.+ // count in "show all topics" if it is not muted.return false;}@@ -203,7 +203,7 @@ export function get_list_info(stream_muted) {// For muted streams, if the only unreads are in muted topics,- // we have a muted styling "more topics" row.+ // we have a muted styling "all topics" row.return {items: topic_choice_state.items,num_possible_topics: topic_names.length,diff --git a/web/templates/more_topics.hbs b/web/templates/more_topics.hbsindex eca1e345814..fe26c9bd41a 100644--- a/web/templates/more_topics.hbs+++ b/web/templates/more_topics.hbs@@ -2,7 +2,7 @@{{#unless more_topics_unreads}}zero-topic-unreads{{/unless}}{{#if more_topics_unread_count_muted}}more_topic_unreads_muted_only{{/if}}"><div class="topic-box">- <a class="sidebar-topic-name" tabindex="0">{{t "more topics" }}</a>+ <a class="sidebar-topic-name" tabindex="0">{{t "show all topics" }}</a><div class="topic-markers-and-controls">{{#if more_topics_have_unread_mention_messages}}<span class="unread_mention_info">diff --git a/web/tests/topic_list_data.test.js b/web/tests/topic_list_data.test.jsindex 4d96ecfb7c8..cb396a39ed1 100644--- a/web/tests/topic_list_data.test.js+++ b/web/tests/topic_list_data.test.js@@ -326,7 +326,7 @@ test("get_list_info unreads", ({override}) => {list_info = get_list_info();assert.equal(list_info.items.length, 12);assert.equal(list_info.more_topics_unreads, 3);- // Topic 14 now makes it above the "more topics" fold.+ // Topic 14 now makes it above the "show all topics" fold.assert.equal(list_info.more_topics_have_unread_mention_messages, false);assert.equal(list_info.num_possible_topics, 16);assert.equal(list_info.more_topics_unread_count_muted, true);diff --git a/zerver/models/streams.py b/zerver/models/streams.pyindex 34b4f067ffa..6f6f7a2f343 100644--- a/zerver/models/streams.py+++ b/zerver/models/streams.py@@ -137,7 +137,7 @@ class Stream(models.Model):can_remove_subscribers_group = models.ForeignKey(UserGroup, on_delete=models.RESTRICT)# The very first message ID in the stream. Used to help clients- # determine whether they might need to display "more topics" for a+ # determine whether they might need to display "show all topics" for a# stream based on what messages they have cached.first_message_id = models.IntegerField(null=True, db_index=True)diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex e8b8198e217..9a49c0886f8 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -19675,7 +19675,7 @@ components:The ID of the first message in the channel.Intended to help clients determine whether they need to display- UI like the "more topics" widget that would suggest the channel+ UI like the "show all topics" widget that would suggest the channelhas older history that can be accessed.Is `null` for channels with no message history.@@ -20519,7 +20519,7 @@ components:The ID of the first message in the channel.Intended to help clients determine whether they need to display- UI like the "more topics" widget that would suggest the channel+ UI like the "show all topics" widget that would suggest the channelhas older history that can be accessed.Is `null` for channels with no message history.diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 9e44e44e482..f0d87a92029 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -318,7 +318,7 @@ class Command(ZulipBaseCommand):if options["max_topics"] is None:# If max_topics is not set, we use a default that's big- # enough "more topics" should appear, and scales slowly+ # enough "show all topics" should appear, and scales slowly# with the number of messages.options["max_topics"] = 8 + options["num_messages"] // 1000