From 76be7440a8d64354c698040a699f76399a35c32c Mon Sep 17 00:00:00 2001 From: Dave Date: Wed, 16 Sep 2026 15:38:42 +0200 Subject: [PATCH] feat(dashboard): remove the 'estimated' pill from the Hours KPI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The methodology panel already explains that hours are estimated from commit timing — the pill on the tile was redundant. With the pill gone the tile row reads as four plain figures, and the methodology is the single place a client goes to interrogate any of them. --- src/components/dashboard/kpi-row.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/components/dashboard/kpi-row.tsx b/src/components/dashboard/kpi-row.tsx index 2bd4637..ea82c33 100644 --- a/src/components/dashboard/kpi-row.tsx +++ b/src/components/dashboard/kpi-row.tsx @@ -1,24 +1,18 @@ -import { Pill } from "@/components/ui/pill"; import type { ProjectMetrics } from "@/lib/metrics/compute"; function Tile({ label, value, sub, - estimated, }: { label: string; value: string; sub?: string; - estimated?: boolean; }) { return (
-
+

{label}

- {/* The spec requires "estimated" in the UI, not only in a footnote: - these figures are shown to clients and have to survive scrutiny. */} - {estimated && estimated}

{value} @@ -57,7 +51,6 @@ export function KpiRow({ metrics }: { metrics: ProjectMetrics }) { label="Hours invested" value={`${hours}h`} sub={`across ${metrics.sessionCount} sessions · longest ${longestHours}h`} - estimated />