mirror of https://github.com/zulip/zulip.git
empty-narrow: Update banner for no starred messages.
Updates the empty narrow banner when there are no starred messages for a more general use case. Previously, it indicated that the user hadn't starred anything yet, which could be confusing for an experienced user who had just cleared out their starred messages.
This commit is contained in:
parent
3c88db9164
commit
e8c777a43c
|
@ -158,9 +158,9 @@ function pick_empty_narrow_banner() {
|
|||
case "is":
|
||||
switch (first_operand) {
|
||||
case "starred":
|
||||
// You have no starred messages.
|
||||
// You currently have no starred messages.
|
||||
return {
|
||||
title: $t({defaultMessage: "You haven't starred anything yet!"}),
|
||||
title: $t({defaultMessage: "You have no starred messages."}),
|
||||
html: $t_html(
|
||||
{
|
||||
defaultMessage:
|
||||
|
|
|
@ -260,7 +260,7 @@ run_test("show_empty_narrow_message", ({mock_template}) => {
|
|||
assert.equal(
|
||||
$(".empty_feed_notice_main").html(),
|
||||
empty_narrow_html(
|
||||
"translated: You haven't starred anything yet!",
|
||||
"translated: You have no starred messages.",
|
||||
'translated HTML: Learn more about starring messages <a href="/help/star-a-message">here</a>.',
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue