diff --git a/ui/src/pages/AgentHealth/AgentHealth.module.css b/ui/src/pages/AgentHealth/AgentHealth.module.css index 37efb44b..b09ca181 100644 --- a/ui/src/pages/AgentHealth/AgentHealth.module.css +++ b/ui/src/pages/AgentHealth/AgentHealth.module.css @@ -292,6 +292,12 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + cursor: pointer; +} + +.compactCardName:hover { + text-decoration: underline; + color: var(--running); } .compactCardChevron { @@ -310,6 +316,11 @@ color: var(--card-accent); } +.compactCardTps { + font-family: var(--font-mono); + color: var(--text-muted); +} + .compactCardHeartbeat { color: var(--text-muted); } @@ -326,7 +337,7 @@ /* Expanded card overlay — floats from the clicked card */ .compactGridExpanded { position: absolute; - z-index: 10; + z-index: 100; top: 0; left: 0; min-width: 500px; diff --git a/ui/src/pages/AgentHealth/AgentHealth.tsx b/ui/src/pages/AgentHealth/AgentHealth.tsx index bf0ea7af..bee2cbbc 100644 --- a/ui/src/pages/AgentHealth/AgentHealth.tsx +++ b/ui/src/pages/AgentHealth/AgentHealth.tsx @@ -106,7 +106,7 @@ const LOG_SOURCE_ITEMS: ButtonGroupItem[] = [ { value: 'container', label: 'Container' }, ]; -function CompactAppCard({ group, onExpand }: { group: AppGroup; onExpand: () => void }) { +function CompactAppCard({ group, onExpand, onNavigate }: { group: AppGroup; onExpand: () => void; onNavigate: () => void }) { const health = appHealth(group); const heartbeat = latestHeartbeat(group); const isHealthy = health === 'success'; @@ -125,13 +125,22 @@ function CompactAppCard({ group, onExpand }: { group: AppGroup; onExpand: () => onKeyDown={(e) => { if (e.key === 'Enter' || e.key === ' ') onExpand(); }} >