drafts: Add placeholder text for drafts with no channel selected.

This commit handles the empty channel placeholder for drafts saved
without a channel selected. When these drafts also do not have a topic,
we display "No topic selected" in tandem with "No channel selected",
since we are unable to access the channel configuration to determine
if we should display realm_empty_topic_display_name.
This commit is contained in:
Sayam Samal
2025-09-24 15:37:33 +05:30
committed by Tim Abbott
parent 91dde7cbeb
commit 0d9e503add
4 changed files with 18 additions and 10 deletions

View File

@@ -2460,7 +2460,8 @@ body:not(.spectator-view) {
.default-language-display,
.empty-topic-display,
.empty-topic-placeholder-display::placeholder {
.empty-topic-placeholder-display::placeholder,
.drafts-unknown-msg-header-field {
font-style: italic;
}