compose: Add banner for unmuting the muted topic a message is sent to.

We add a new banner informing the user if and when they send a message
to a muted topic / stream. It also has a button to unmute the topic.

Fixes: #24246.
This commit is contained in:
N-Shar-ma
2023-04-13 22:10:17 +05:30
committed by Tim Abbott
parent ff8d209807
commit 9f2ef69c71
9 changed files with 111 additions and 16 deletions

View File

@@ -198,7 +198,7 @@ export function scroll_finished() {
compose_banner.scroll_to_message_banner_message_id,
);
if ($message_row.length > 0 && !message_viewport.is_message_below_viewport($message_row)) {
compose_banner.clear_message_sent_banners();
compose_banner.clear_message_sent_banners(false);
}
}