From cc4f924fb81037275db9df823298fdf58fa70ac6 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Mon, 9 Mar 2026 23:03:58 +0100 Subject: [PATCH] fix: put annotations and live indicator on same row in chart footer --- components/dashboard/Chart.tsx | 118 +++++++++++++++++---------------- 1 file changed, 61 insertions(+), 57 deletions(-) diff --git a/components/dashboard/Chart.tsx b/components/dashboard/Chart.tsx index 38b9d21..bfbeb3d 100644 --- a/components/dashboard/Chart.tsx +++ b/components/dashboard/Chart.tsx @@ -518,66 +518,70 @@ export default function Chart({ )} - {/* Annotation tags */} - {annotationMarkers.length > 0 && ( -
- Annotations: - {annotationMarkers.map((marker) => { - const primary = marker.annotations[0] - const color = ANNOTATION_COLORS[primary.category] || ANNOTATION_COLORS.other - const count = marker.annotations.length - return ( -
- - - ) - })} - - )} - - {/* Live indicator */} - {lastUpdatedAt != null && ( -
-
- - - - - Live · {formatUpdatedAgo(lastUpdatedAt)} + + ) + })} + + )}
+ {/* Live indicator right */} + {lastUpdatedAt != null && ( +
+ + + + + Live · {formatUpdatedAgo(lastUpdatedAt)} +
+ )}
)}