Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
onboarding: Improve placeholder message for dm with yourself.
nimishmedatwal3d30fcd10a9e
diff --git a/web/src/narrow_banner.ts b/web/src/narrow_banner.tsindex 095fbf33bb4..5354c86cf32 100644--- a/web/src/narrow_banner.ts+++ b/web/src/narrow_banner.ts@@ -330,18 +330,10 @@ function pick_empty_narrow_banner(): NarrowBannerData {defaultMessage:"You have not sent any direct messages to yourself yet!",}),- html: $t_html(- {- defaultMessage:- "Why not <z-link>start a conversation with yourself</z-link>?",- },- {- "z-link": (content_html) =>- `<a href="#" class="empty_feed_compose_private">${content_html.join(- "",- )}</a>`,- },- ),+ html: $t_html({+ defaultMessage:+ "Use this space for personal notes, or to test out Zulip features.",+ }),};}return {diff --git a/web/tests/narrow.test.js b/web/tests/narrow.test.jsindex 7f6d880e47e..d45bd6590f0 100644--- a/web/tests/narrow.test.js+++ b/web/tests/narrow.test.js@@ -408,7 +408,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {$(".empty_feed_notice_main").html(),empty_narrow_html("translated: You have not sent any direct messages to yourself yet!",- 'translated HTML: Why not <a href="#" class="empty_feed_compose_private">start a conversation with yourself</a>?',+ "translated HTML: Use this space for personal notes, or to test out Zulip features.",),);