Start users in a narrow to the notifications stream after the tutorial.

They'll see the welcome messages they need without being overwhelmed
by the home view.

(imported from commit 195cb4defa1dc0aa5ba8870226036e4dfd111c0f)
This commit is contained in:
Jessica McKellar
2014-01-13 13:37:21 -05:00
parent 7702461700
commit a677db4672

View File

@@ -274,6 +274,11 @@ function finale() {
alert_contents = "<i class='icon-vector-desktop alert-icon'></i>What's better than Zulip in your browser? The <a href='/apps' target='_blank'>Zulip desktop app</a>!";
}
show_app_alert(alert_contents);
// We start you in a narrow so it's not overwhelming.
if (stream_data.in_home_view(page_params.notifications_stream)) {
narrow.activate([["stream", page_params.notifications_stream]]);
}
}
function reply() {