feat(desktop): refine thread-unread badge to two-token form (#1069)

Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Will Pfleger
2026-06-16 13:21:51 -04:00
committed by GitHub
parent fd2553726c
commit de24b90aa1

View File

@@ -124,11 +124,8 @@ export function MessageThreadSummaryRow({
{summary.replyCount} {replyLabel}
</span>
{unreadCount != null && unreadCount > 0 ? (
<span
className="ml-1.5 inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[10px] font-semibold leading-none text-primary-foreground"
data-testid="thread-unread-badge"
>
{unreadCount}
<span className="ml-1" data-testid="thread-unread-badge">
({unreadCount} new)
</span>
) : null}
{summary.lastReplyAt ? (