From 82845450eb6e181352e6c79aeaf79fc10691c5a0 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Jul 2026 17:48:14 +0200 Subject: [PATCH] feat(frontend): add date recording started to conversation overview --- .../conversation/ProjectConversationRoute.tsx | 56 ++++++++++++------- 1 file changed, 35 insertions(+), 21 deletions(-) diff --git a/echo/frontend/src/routes/project/conversation/ProjectConversationRoute.tsx b/echo/frontend/src/routes/project/conversation/ProjectConversationRoute.tsx index 747ea976..1b4c50f4 100644 --- a/echo/frontend/src/routes/project/conversation/ProjectConversationRoute.tsx +++ b/echo/frontend/src/routes/project/conversation/ProjectConversationRoute.tsx @@ -159,7 +159,7 @@ export const ProjectConversationRoute = () => { - {/* Header: name, title, tags. Created-on and duration live on the list page only. */} + {/* Header: name, title, created-at, tags. Duration lives on the list page only. */} {primary} @@ -207,26 +207,40 @@ export const ProjectConversationRoute = () => { {conversation.participant_name} )} - {tags.length > 0 && ( - - {tags.map((tag) => { - const tagText = getTagText(tag); - if (!tagText) return null; - return ( - - {tagText} - - ); - })} - - )} + + {conversation?.created_at && ( + + Created on:{" "} + {new Date(conversation.created_at).toLocaleString(undefined, { + day: "numeric", + month: "short", + year: "numeric", + hour: "2-digit", + minute: "2-digit", + })} + + )} + {tags.length > 0 && ( + + {tags.map((tag) => { + const tagText = getTagText(tag); + if (!tagText) return null; + return ( + + {tagText} + + ); + })} + + )} + {/*