From e6ec2fc2440d47240ffb7d3db62c0252f7f68681 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Thu, 21 May 2026 00:22:31 -0700 Subject: [PATCH] fix: update ports icon (#2500) --- src/renderer/src/components/sidebar/WorktreeCardPorts.tsx | 6 +++--- .../src/components/status-bar/PortsStatusSegment.tsx | 6 +++--- src/renderer/src/components/status-bar/StatusBar.tsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/renderer/src/components/sidebar/WorktreeCardPorts.tsx b/src/renderer/src/components/sidebar/WorktreeCardPorts.tsx index 5d10feb1d..98723a823 100644 --- a/src/renderer/src/components/sidebar/WorktreeCardPorts.tsx +++ b/src/renderer/src/components/sidebar/WorktreeCardPorts.tsx @@ -1,5 +1,5 @@ import React, { useCallback, useMemo } from 'react' -import { Cable, Copy, ExternalLink, Trash2 } from 'lucide-react' +import { Plug, Copy, ExternalLink, Trash2 } from 'lucide-react' import { toast } from 'sonner' import { useAppStore } from '@/store' import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card' @@ -158,7 +158,7 @@ export function WorktreeCardPorts({ ports }: WorktreeCardPortsProps): React.JSX. aria-label={`${ports.length} live ${ports.length === 1 ? 'port' : 'ports'}`} onClick={(event) => event.stopPropagation()} > - + event.stopPropagation()} >
- + Live Ports {ports.length} diff --git a/src/renderer/src/components/status-bar/PortsStatusSegment.tsx b/src/renderer/src/components/status-bar/PortsStatusSegment.tsx index 0747d60bf..7e2abc76b 100644 --- a/src/renderer/src/components/status-bar/PortsStatusSegment.tsx +++ b/src/renderer/src/components/status-bar/PortsStatusSegment.tsx @@ -1,6 +1,6 @@ import React, { useCallback, useMemo, useState } from 'react' import { - Cable, + Plug, ChevronDown, ChevronRight, Copy, @@ -227,7 +227,7 @@ export function PortsStatusSegment({ iconOnly }: PortsStatusSegmentProps): React {refreshing ? ( ) : ( - + )} {!iconOnly && ( @@ -259,7 +259,7 @@ export function PortsStatusSegment({ iconOnly }: PortsStatusSegmentProps): React >
- + Ports
diff --git a/src/renderer/src/components/status-bar/StatusBar.tsx b/src/renderer/src/components/status-bar/StatusBar.tsx index f44fb65ea..1ab69eec6 100644 --- a/src/renderer/src/components/status-bar/StatusBar.tsx +++ b/src/renderer/src/components/status-bar/StatusBar.tsx @@ -4,7 +4,7 @@ states stay consistent across Claude and Codex. */ import { AlertTriangle, Activity, - Cable, + Plug, ChevronDown, ChevronRight, PanelsTopLeft, @@ -995,7 +995,7 @@ function StatusBarInner({ floatingTerminalOpen }: StatusBarProps): React.JSX.Ele checked={statusBarItems.includes('ports')} onCheckedChange={() => toggleStatusBarItem('ports')} > - + Ports