Skip to content

Commit de24b90

Browse files
wpfleger96npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
andauthored
feat(desktop): refine thread-unread badge to two-token form (#1069)
Signed-off-by: Will Pfleger <[email protected]> Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
1 parent fd25537 commit de24b90

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎desktop/src/features/messages/ui/MessageThreadSummaryRow.tsx‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,8 @@ export function MessageThreadSummaryRow({
124124
{summary.replyCount} {replyLabel}
125125
</span>
126126
{unreadCount != null && unreadCount > 0 ? (
127-
<span
128-
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"
129-
data-testid="thread-unread-badge"
130-
>
131-
{unreadCount}
127+
<span className="ml-1" data-testid="thread-unread-badge">
128+
({unreadCount} new)
132129
</span>
133130
) : null}
134131
{summary.lastReplyAt ? (

0 commit comments

Comments
 (0)