Skip to content

Commit 928618b

Browse files
committed
Show archive status.
1 parent 613acc0 commit 928618b

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
@@ -3,6 +3,7 @@
33
import { GitPullRequestIcon, IssueOpenedIcon } from '@primer/octicons-react'
44
import { cva, type VariantProps } from 'class-variance-authority'
55
import {
6+
Archive,
67
Clock,
78
Code,
89
Filter,
@@ -21,6 +22,7 @@ import type { DraftStats } from '@/lib/enhancers/draftStats'
2122
const statBadge = cva('inline-flex items-center gap-1 px-1.5 py-0.5 rounded text-xs', {
2223
variants: {
2324
type: {
25+
archived: 'bg-gray-50 text-yellow-700',
2426
code: 'bg-pink-50 text-pink-700',
2527
image: 'bg-purple-50 text-purple-700',
2628
link: 'bg-blue-50 text-blue-700',
@@ -34,6 +36,7 @@ const statBadge = cva('inline-flex items-center gap-1 px-1.5 py-0.5 rounded text
3436

3537
// Map types to their icons
3638
const typeIcons = {
39+
archived: Archive,
3740
code: Code,
3841
image: Image,
3942
link: Link,
@@ -618,6 +621,7 @@ function commentRow(
618621
{row.spot.title}
619622
</a>
620623
<Badge type={row.isSent ? 'sent' : 'unsent'} />
624+
{row.isArchived && <Badge type='archived' />}
621625
</div>
622626
{/* Draft */}
623627
<div className='text-sm truncate'>

0 commit comments

Comments
 (0)