Skip to content

Commit f120ca9

Browse files
committed
Also show the open / not open status.
1 parent 928618b commit f120ca9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

browser-extension/tests/playground/claude.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
Link,
1212
MailCheck,
1313
MessageSquareDashed,
14+
Monitor,
1415
Search,
1516
TextSelect,
1617
} from 'lucide-react'
@@ -26,6 +27,7 @@ const statBadge = cva('inline-flex items-center gap-1 px-1.5 py-0.5 rounded text
2627
code: 'bg-pink-50 text-pink-700',
2728
image: 'bg-purple-50 text-purple-700',
2829
link: 'bg-blue-50 text-blue-700',
30+
open: 'bg-cyan-50 text-cyan-700',
2931
sent: 'bg-green-50 text-green-700',
3032
text: 'bg-gray-50 text-gray-700',
3133
time: 'bg-gray-50 text-gray-700',
@@ -40,6 +42,7 @@ const typeIcons = {
4042
code: Code,
4143
image: Image,
4244
link: Link,
45+
open: Monitor,
4346
sent: MailCheck,
4447
text: TextSelect,
4548
time: Clock,
@@ -612,6 +615,7 @@ function commentRow(
612615
)}
613616
<Badge type='text' text={row.latestDraft.stats.charCount} />
614617
<Badge type='time' text={timeAgo(row.latestDraft.time)} />
618+
{row.isOpenTab && <Badge type='open' />}
615619
</div>
616620
</div>
617621

0 commit comments

Comments
 (0)