Muted channels hide their mention badges #276

Closed
opened 2026-10-07 20:42:57 -04:00 by Salastil · 1 comment
Owner

BufferList.tsx:1012 shows the badge only when buffer.unread > 0 && !muted, so a mention in a muted channel shows nothing. Muted servers are also dropped from the rail's totals entirely (lib/groups.ts:268-275). Muted rows are not dimmed - only a 13px icon at 0.6 opacity marks them (BufferList.tsx:1005; app.css:329). A LIVE badge also replaces the unread/mention badge (1010-1015).

Discord dims muted channels but still shows a mention badge on them, and still counts mentions on a muted server's icon.

Fix: dim muted rows; keep mention (not plain unread) badges on muted rows and in rail totals; show LIVE alongside, not instead of, a mention badge.

Part of the v1.0 UI pass.

`BufferList.tsx:1012` shows the badge only when `buffer.unread > 0 && !muted`, so a mention in a muted channel shows nothing. Muted servers are also dropped from the rail's totals entirely (`lib/groups.ts:268-275`). Muted rows are not dimmed - only a 13px icon at 0.6 opacity marks them (BufferList.tsx:1005; app.css:329). A LIVE badge also replaces the unread/mention badge (1010-1015). Discord dims muted channels but still shows a mention badge on them, and still counts mentions on a muted server's icon. **Fix:** dim muted rows; keep mention (not plain unread) badges on muted rows and in rail totals; show LIVE alongside, not instead of, a mention badge. _Part of the v1.0 UI pass._
Salastil added this to the v1.0 milestone 2026-10-07 20:42:57 -04:00
Salastil added the bug label 2026-10-07 20:42:57 -04:00
Author
Owner

Finished: 6598043.

Shown in the same picture as #275 (screenshots is muted and has a mention): a muted channel or server still shows a mention - the red badge, the bold name, and its count in the rail - and a muted row with nothing waiting is dimmed. Muted rooms with only plain unread messages stay quiet, as before. countsTowardRail has unit tests for a quiet muted channel, a muted channel with a mention, and a hidden one.

Finished: [6598043](https://git.salastil.com/Salastil/moho/commit/65980434838a52d1a9ad3ae97b84acae2e367de9). Shown in the same picture as #275 (`screenshots` is muted and has a mention): a muted channel or server **still shows a mention** - the red badge, the bold name, and its count in the rail - and a muted row with nothing waiting is **dimmed**. Muted rooms with only plain unread messages stay quiet, as before. `countsTowardRail` has unit tests for a quiet muted channel, a muted channel with a mention, and a hidden one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salastil/moho#276