Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_setting: Update wording for "Mark messages as read on scroll" setting.
Joelute245c855376ab
diff --git a/help/marking-messages-as-read.md b/help/marking-messages-as-read.mdindex 0c2150b2aec..953834222a9 100644--- a/help/marking-messages-as-read.md+++ b/help/marking-messages-as-read.md@@ -21,7 +21,9 @@ are at your computer. You will still be able to{settings_tab|display-settings}-1. Under **Advanced**, select **Always**, **Never** or **Only in conversation views**.+1. Under **Advanced**, click on the **Automatically mark messages as+ read** dropdown, and select **Always**, **Never** or **Only in+ conversation views**.{tab|mobile}diff --git a/web/src/message_list.js b/web/src/message_list.jsindex 0617da31291..f79df8ee424 100644--- a/web/src/message_list.js+++ b/web/src/message_list.js@@ -190,7 +190,7 @@ export class MessageList {properties of the message_list_data object.* The user recently marked messages in the view as unread, andwe don't want to lose that state.- * The user has "Mark messages as read on scroll" option+ * The user has "Automatically mark messages as read" optionturned on in their user settings.*/const filter = this.data.filter;@@ -214,7 +214,7 @@ export class MessageList {/*Similar to can_mark_messages_read() above, this is a helperfunction to check if messages can be automatically read without- the "Do not mark messages as read on scroll" setting.+ the "Automatically mark messages as read" setting.*/return this.data.can_mark_messages_read() && !this.reading_prevented;}diff --git a/web/templates/settings/display_settings.hbs b/web/templates/settings/display_settings.hbsindex 504e5134d47..f4a7a4a192b 100644--- a/web/templates/settings/display_settings.hbs+++ b/web/templates/settings/display_settings.hbs@@ -81,7 +81,7 @@</div><div class="input-group">- <label for="web_mark_read_on_scroll_policy" class="dropdown-title">{{t "Mark messages as read on scroll" }}+ <label for="web_mark_read_on_scroll_policy" class="dropdown-title">{{t "Automatically mark messages as read" }}{{> ../help_link_widget link="/help/marking-messages-as-read" }}</label><select name="web_mark_read_on_scroll_policy" class="setting_web_mark_read_on_scroll_policy prop-element settings_select bootstrap-focus-style" id="{{prefix}}web_mark_read_on_scroll_policy" data-setting-widget-type="number">