diff --git a/frontend/src/app/components/overlays/GlobalSearchPalette.tsx b/frontend/src/app/components/overlays/GlobalSearchPalette.tsx index c685aff0..b9c67482 100644 --- a/frontend/src/app/components/overlays/GlobalSearchPalette.tsx +++ b/frontend/src/app/components/overlays/GlobalSearchPalette.tsx @@ -14,6 +14,7 @@ import { setPendingFocusAgentId } from '@/shared/state/tempStateSlice'; import { createDashboard } from '@/shared/state/dashboardsSlice'; import { openSettingsModal } from '@/shared/state/settingsSlice'; import { useClaudeTokens } from '@/shared/styles/ThemeContext'; +import { friendlyStatusLabel } from '@/shared/statusLabel'; interface Props { open: boolean; @@ -301,7 +302,7 @@ const GlobalSearchPalette: React.FC = ({ open, onClose }) => { const dashName = r.dashboardId ? dashboards[r.dashboardId]?.name : null; const subtitle = [ dashName && `in ${dashName}`, - r.closedAt ? 'closed' : r.status, + r.closedAt ? 'closed' : friendlyStatusLabel(r.status), ].filter(Boolean).join(' ยท '); return ( = ({ sessionId: sessionIdProp, onClose {session.name} {!isDraft && statusStyle && ( = ({ - {item.status.replace('_', ' ')} + {friendlyStatusLabel(item.status)} ))} diff --git a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx index 8b8c19ca..f693636c 100644 --- a/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx +++ b/frontend/src/app/pages/Dashboard/cards/AgentCard.tsx @@ -37,6 +37,7 @@ import { useOverlayScrollPassthrough } from '../hooks/interaction/useOverlayScro import { useStreamingMessage } from '@/shared/state/streamingSlice'; import { isCanvasInteractionActive, onCanvasInteractionEnd } from '@/shared/canvasInteractionState'; import { getAgentWorkTime, fmtSeconds } from '@/shared/agentWorkTime'; +import { friendlyStatusLabel } from '@/shared/statusLabel'; const GoogleServiceIcon: React.FC<{ service: string; size?: number }> = ({ service, size = 16 }) => { if (service === 'gmail') { @@ -757,7 +758,7 @@ const AgentCard: React.FC = ({ {session.name}