mirror of https://github.com/zulip/zulip.git
left_sidebar: Rename "more topics" to "all topics".
This commit renames the occurrences of "more topics" to "all topics" in comments and documentation. Fixes #30014
This commit is contained in:
parent
c8b8b836fd
commit
2c98263d4c
|
@ -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}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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 channel
|
||||
has 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 channel
|
||||
has older history that can be accessed.
|
||||
|
||||
Is `null` for channels with no message history.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue