Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
narrow_title: Correct title of RT and all messages narrow.
Aman Agrawalf9537053eaf1
diff --git a/frontend_tests/puppeteer_tests/02-message-basics.ts b/frontend_tests/puppeteer_tests/02-message-basics.tsindex 5e731707f94..bf5a71133f3 100644--- a/frontend_tests/puppeteer_tests/02-message-basics.ts+++ b/frontend_tests/puppeteer_tests/02-message-basics.ts@@ -78,7 +78,7 @@ async function un_narrow(page: Page): Promise<void> {}await page.click(".top_left_all_messages");await page.waitForSelector("#zhome .message_row", {visible: true});- assert.strictEqual(await page.title(), "home - Zulip Dev - Zulip");+ assert.strictEqual(await page.title(), "All messages - Zulip Dev - Zulip");}async function un_narrow_by_clicking_org_icon(page: Page): Promise<void> {@@ -211,7 +211,13 @@ async function search_tests(page: Page): Promise<void> {"other topic - Zulip Dev - Zulip",);- await search_and_check(page, "topic:test", "", expect_test_topic, "home - Zulip Dev - Zulip");+ await search_and_check(+ page,+ "topic:test",+ "",+ expect_test_topic,+ "All messages - Zulip Dev - Zulip",+ );await search_silent_user(page, "sender:[email protected]", "");diff --git a/static/js/narrow.js b/static/js/narrow.jsindex 3365dd36a9a..48e8142da08 100644--- a/static/js/narrow.js+++ b/static/js/narrow.js@@ -766,7 +766,7 @@ function handle_post_narrow_deactivate_processes() {widgetize.set_widgets_for_list();typing_events.render_notifications_for_narrow();message_view_header.initialize();- exports.narrow_title = "home";+ exports.narrow_title = "All messages";notifications.redraw_title();message_scroll.hide_top_of_narrow_notices();message_scroll.update_top_of_narrow_notices(home_msg_list);diff --git a/static/js/recent_topics.js b/static/js/recent_topics.jsindex c87d0d13aec..8b05e39bf93 100644--- a/static/js/recent_topics.js+++ b/static/js/recent_topics.js@@ -484,7 +484,7 @@ exports.show = function () {// with no compose box.compose_actions.cancel();- narrow.narrow_title = "Recent topics (beta)";+ narrow.narrow_title = "Recent topics";narrow_state.set_current_filter(undefined);notifications.redraw_title();message_view_header.render_title_area();