mirror of
https://github.com/stablyai/orca.git
synced 2026-10-02 00:02:05 +00:00
style: remove redundant PR state label from worktree card header (#128)
The PR state (merged/open/closed/draft) is already accessible via tooltip, so the inline text label in the header is unnecessary visual noise. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
30c01f4c29
commit
d7895d575d
@@ -265,19 +265,6 @@ const WorktreeCard = React.memo(function WorktreeCard({
|
||||
</TooltipContent>
|
||||
</Tooltip>
|
||||
)}
|
||||
{pr && (
|
||||
<span
|
||||
className={cn(
|
||||
'text-[9px] font-bold uppercase tracking-wider h-3.5 flex items-center',
|
||||
pr.state === 'merged' && 'text-purple-500/80',
|
||||
pr.state === 'open' && 'text-emerald-500/80',
|
||||
pr.state === 'closed' && 'text-muted-foreground/60',
|
||||
pr.state === 'draft' && 'text-muted-foreground/50'
|
||||
)}
|
||||
>
|
||||
{prStateLabel(pr.state)}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user