From 140ba10df68e87f7fe4ad41cf338a561d5921657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Fri, 4 Sep 2026 23:46:45 +0200 Subject: [PATCH] Bump to 0.9.4 - SessionTimelineChart: adds explicit gap between the tooltip's device label and its value via a custom formatter, instead of relying on justify-between's leftover-space spacing, which collapsed to zero in the narrow single-item tooltip Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01BuWtppPBizG2NQRa31FCRa --- components/sessions/SessionTimelineChart.tsx | 24 +++++++++++++++++++- package.json | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/components/sessions/SessionTimelineChart.tsx b/components/sessions/SessionTimelineChart.tsx index b95688a..af0320a 100644 --- a/components/sessions/SessionTimelineChart.tsx +++ b/components/sessions/SessionTimelineChart.tsx @@ -64,7 +64,29 @@ export function SessionTimelineChart({ timeline }: { timeline: TimelineRow[] }) className="bp-readout text-xs" /> - } /> + { + const itemConfig = config[name as string]; + return ( + <> +
+
+ {itemConfig?.label ?? name} + + {typeof value === "number" ? value.toLocaleString() : String(value)} + +
+ + ); + }} + /> + } + /> {series.map(([sessionDeviceId]) => (