Skip to content

Commit 5cd2826

Browse files
committed
Remove the private/public pills.
1 parent 0859ffd commit 5cd2826

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

browser-extension/tests/playground/claude.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,13 @@ import {
99
Filter,
1010
GitCommit,
1111
GitPullRequest,
12-
Globe,
1312
Link,
14-
Lock,
1513
MessageSquare,
1614
Search,
1715
Trash2,
1816
XCircle,
1917
} from 'lucide-react'
18+
import { IssueOpenedIcon, GitPullRequestIcon } from '@primer/octicons-react'
2019
import { useMemo, useState } from 'react'
2120

2221
// Mock data generator
@@ -438,14 +437,19 @@ export const ClaudePrototype = () => {
438437
{/* Context line */}
439438
<div className='flex items-center gap-1.5 text-xs text-gray-600'>
440439
<span className='w-4 h-4 flex items-center justify-center'>
441-
{draft.platform === 'GitHub' ? '🐙' : '🔗'}
440+
{draft.platform === 'GitHub' ? (
441+
draft.kind === 'PR' ? (
442+
<GitPullRequestIcon size={16} />
443+
) : draft.kind === 'Issue' ? (
444+
<IssueOpenedIcon size={16} />
445+
) : '🐙'
446+
) : '🔗'}
442447
</span>
443448
<a
444449
href={draft.url}
445450
className='hover:underline truncate max-w-[28ch]'
446-
title={draft.repoSlug}
447451
>
448-
{draft.repoSlug}
452+
#{draft.number} {draft.repoSlug}
449453
</a>
450454
<span className='inline-flex items-center gap-1 px-1.5 py-0.5 rounded-full text-xs bg-gray-100 border border-gray-300'>
451455
{getKindIcon(draft.kind)}

0 commit comments

Comments
 (0)