main ← chat-indicator-current-channel
merged 02:46PM - 07 Apr 26 UTC
- On mobile, the `navbar back-button` unread indicator now only reflects unreads… from other channels, excluding the
currently viewed one (addresses https://meta.discourse.org/t/notification-about-chat-messages-in-the-header/386167/8?u=chapoi)
- The `scroll-to-bottom button` now displays a "N new messages" text label for unread messages in the current channel
(only when the original arrow-button is rendered)
- Both indicators render independently — if there are unreads in both the current and other channels, both appear
- Fixed || to ?? fallback logic in ChatHeaderIconUnreadIndicator so that explicit 0 counts are respected instead of
falling through to global aggregates
<img width="730" height="1572" alt="CleanShot 2026-04-06 at 17 31 29@2x" src="https://github.com/user-attachments/assets/5071985d-733f-4e9b-9ff4-38e543521610" />
This means that this new indicator _within_ the current channel doesn't distinguish between unread or mention. This is an intentional simplification so it represents all new activity.