Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

left_sidebar: Change redirect link for Browse channels.

sujal shah26ae173a2ce9
diff --git a/web/e2e-tests/lib/common.ts b/web/e2e-tests/lib/common.ts
index 5ee4bf22f33..bf12c70ab8c 100644
--- a/web/e2e-tests/lib/common.ts
+++ b/web/e2e-tests/lib/common.ts
@@ -540,7 +540,7 @@ export async function open_streams_modal(page: Page): Promise<void> {
await page.waitForSelector("#subscription_overlay.new-style", {visible: true});
const url = await page_url_with_fragment(page);
- assert.ok(url.includes("#channels/all"));
+ assert.ok(url.includes("#channels/notsubscribed"));
}
export async function open_personal_menu(page: Page): Promise<void> {
diff --git a/web/templates/popovers/left_sidebar/left_sidebar_stream_setting_popover.hbs b/web/templates/popovers/left_sidebar/left_sidebar_stream_setting_popover.hbs
index 48060221b1f..f48bc445945 100644
--- a/web/templates/popovers/left_sidebar/left_sidebar_stream_setting_popover.hbs
+++ b/web/templates/popovers/left_sidebar/left_sidebar_stream_setting_popover.hbs
@@ -1,6 +1,6 @@
<ul class="nav nav-list">
<li>
- <a href="#channels/all" class="navigate_and_close_popover">
+ <a href="#channels/notsubscribed" class="navigate_and_close_popover">
{{t "Browse channels" }}
</a>
</li>
diff --git a/web/templates/subscribe_to_more_streams.hbs b/web/templates/subscribe_to_more_streams.hbs
index 9f48acfe09f..e7fffba4bdf 100644
--- a/web/templates/subscribe_to_more_streams.hbs
+++ b/web/templates/subscribe_to_more_streams.hbs
@@ -1,10 +1,10 @@
{{#if exactly_one_unsubscribed_stream}}
- <a href="#channels/all">
+ <a href="#channels/notsubscribed">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{~t "Browse 1 more channel" ~}}
</a>
{{else if can_subscribe_stream_count}}
- <a href="#channels/all">
+ <a href="#channels/notsubscribed">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{~t "Browse {can_subscribe_stream_count} more channels" ~}}
</a>