mirror of https://github.com/zulip/zulip.git
narrow_title: Correct title of RT and all messages narrow.
Recent topics, being the default view, is no longer beta.
This commit is contained in:
parent
ce3f1355e1
commit
f9537053ea
|
@ -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:emailgateway@zulip.com", "");
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue