From de0a149df5eb024c3295d231173437488aadc744 Mon Sep 17 00:00:00 2001 From: Xu Song Date: Tue, 16 Jun 2026 12:08:48 +0800 Subject: [PATCH] feat(session-manager): show source file name in session detail header (#4113) * feat(session-manager): show source file name in session detail header Display the session log file name (with full path on hover) alongside the project directory, so users can locate and copy the underlying JSONL file directly from the UI. * fix(session-manager): truncate long source file name in detail header Long, space-less JSONL basenames (e.g. Codex rollout files at ~70 chars) overflowed the flex meta row and bled into the action-button area on narrow windows. Mirror the sibling project-dir span by capping the filename at max-w-[200px] with truncation; the full path stays available via the hover tooltip and click-to-copy. --------- Co-authored-by: Jason --- .../sessions/SessionManagerPage.tsx | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/components/sessions/SessionManagerPage.tsx b/src/components/sessions/SessionManagerPage.tsx index 2ab97a6f3..a026a5800 100644 --- a/src/components/sessions/SessionManagerPage.tsx +++ b/src/components/sessions/SessionManagerPage.tsx @@ -13,6 +13,7 @@ import { MessageSquare, Clock, FolderOpen, + FileText, X, CheckSquare, } from "lucide-react"; @@ -897,6 +898,38 @@ export function SessionManagerPage({ appId }: { appId: string }) { )} + {selectedSession.sourcePath && ( + + + + + +

+ {selectedSession.sourcePath} +

+

+ {t("sessionManager.clickToCopyPath")} +

+
+
+ )}