mirror of
https://github.com/block/buzz.git
synced 2026-10-30 22:11:36 +00:00
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:
@@ -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 ? (
|
||||
|
||||
Reference in New Issue
Block a user