From 283d1cf20bf59057213e6f67c24bb92a56d242e1 Mon Sep 17 00:00:00 2001 From: Christopher Tso Date: Wed, 6 May 2026 06:00:30 +0200 Subject: [PATCH] =?UTF-8?q?feat(studio):=20show=20DD/MM=20HH:mm=20=C2=B7?= =?UTF-8?q?=20target=20=C2=B7=20pass%=20label=20with=20time-ago=20in=20sid?= =?UTF-8?q?ebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces opaque target-only run labels with a short timestamp-derived label (e.g. "04/05 07:16 · azure · 100%") so runs are immediately identifiable at a glance. Adds "1 day ago" grey subtext beneath each run link in the sidebar, matching the Convex Evals pattern. Co-Authored-By: Claude Sonnet 4.6 --- apps/studio/src/components/Sidebar.tsx | 17 +++++---- apps/studio/src/lib/run-label.test.ts | 27 ++++++++++----- apps/studio/src/lib/run-label.ts | 48 ++++++++++++++++++++++---- 3 files changed, 70 insertions(+), 22 deletions(-) diff --git a/apps/studio/src/components/Sidebar.tsx b/apps/studio/src/components/Sidebar.tsx index 9ae5cc8d..e5275820 100644 --- a/apps/studio/src/components/Sidebar.tsx +++ b/apps/studio/src/components/Sidebar.tsx @@ -29,7 +29,7 @@ import { useRunList, useStudioConfig, } from '~/lib/api'; -import { formatRunLabel } from '~/lib/run-label'; +import { formatRunLabel, timeAgo } from '~/lib/run-label'; import { useSidebarContext } from '~/lib/sidebar-context'; /** Responsive