tutorial: add helpful in-app links and be consistent with realm welcome message.

(imported from commit 2057dbe2606d32721192021ed2046ed9f412d8a7)
This commit is contained in:
Jessica McKellar
2014-01-22 16:42:13 -05:00
parent 086eab8bb5
commit ee7a1f0953
2 changed files with 13 additions and 8 deletions

View File

@@ -364,13 +364,19 @@ function finale() {
});
}
if (stream_data.in_home_view(page_params.notifications_stream)) {
send_delayed_stream_message(page_params.notifications_stream, "welcome", "Practice sending sending some messages here, or starting a new topic.", 15);
send_delayed_stream_message(page_params.notifications_stream, "Zulip tips", "Here's a message on a new topic: `Zulip tips`.\n\nAs you settle into Zulip, customize your account and notifications on your [Settings page](#settings).", 30);
send_delayed_stream_message(page_params.notifications_stream, "Zulip tips", "You might also enjoy:\n\n* Our lightweight !modal_link(#markdown-help, message formatting) (including emoji! :thumbsup:)\n* !modal_link(#keyboard-shortcuts, Keyboard shortcuts)\n* [Desktop and mobile apps](/apps)", 40);
}
if (work_stream !== undefined) {
send_delayed_stream_message(work_stream, "projects", "This is a message on stream **" + work_stream + "** with the topic **projects**. Practice sending sending some messages here, or creating a new topic.", 10);
send_delayed_stream_message(work_stream, "projects", "You might also enjoy:\n* Our lightweight formatting\n* emoji :thumbsup:\n* Our [desktop and mobile apps](/apps)", 15);
send_delayed_stream_message(work_stream, "projects", "This is a message on stream `" + work_stream + "` with the topic `projects`.", 60);
send_delayed_stream_message(work_stream, "projects", "Take a peek at our [integrations](/integrations). Now's a great time to set one up!", 65);
}
if (stream_data.in_home_view("social")) {
send_delayed_stream_message("social", "cute animals", "This is a message on stream **social** with the topic **cute animals**. Try uploading or pasting in some pictures. Here's a [guinea pig](https://humbug-user-uploads.s3.amazonaws.com/byqgM1qjol1mzje_KzeNRT5F/guinea.jpg) to get you started:", 25);
send_delayed_stream_message("social", "cute animals", "This is a message on stream `social` with the topic `cute animals`. Try uploading or pasting in some pictures. Here's a [guinea pig](https://humbug-user-uploads.s3.amazonaws.com/byqgM1qjol1mzje_KzeNRT5F/guinea.jpg) to get you started:", 75);
}
}
}