From 076092685ea5c8825cf591eea388020d5fad89a1 Mon Sep 17 00:00:00 2001 From: Forgotten Date: Mon, 23 Feb 2026 19:43:39 -0600 Subject: [PATCH] fix(ui): make chart bar tops square instead of rounded on agent detail page Removed rounded-t-sm from all four chart components (RunActivityChart, PriorityChart, IssueStatusChart, SuccessRateChart) so bar tops render with sharp corners. Co-Authored-By: Claude Opus 4.6 --- ui/src/pages/AgentDetail.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/pages/AgentDetail.tsx b/ui/src/pages/AgentDetail.tsx index b89c4b8f..b16b56e9 100644 --- a/ui/src/pages/AgentDetail.tsx +++ b/ui/src/pages/AgentDetail.tsx @@ -840,7 +840,7 @@ function RunActivityChart({ runs }: { runs: HeartbeatRun[] }) { return (
{total > 0 ? ( -
+
{entry.succeeded > 0 &&
} {entry.failed > 0 &&
} {entry.other > 0 &&
} @@ -892,7 +892,7 @@ function PriorityChart({ issues }: { issues: { priority: string; createdAt: Date return (
{total > 0 ? ( -
+
{priorityOrder.map(p => entry[p] > 0 ? (
) : null)} @@ -959,7 +959,7 @@ function IssueStatusChart({ issues }: { issues: { status: string; createdAt: Dat return (
{total > 0 ? ( -
+
{statusOrder.map(s => (entry[s] ?? 0) > 0 ? (
) : null)} @@ -1002,7 +1002,7 @@ function SuccessRateChart({ runs }: { runs: HeartbeatRun[] }) { return (
0 ? Math.round(rate * 100) : 0}% (${entry.succeeded}/${entry.total})`}> {entry.total > 0 ? ( -
+
) : (
)}