From 6d3bf01b4f021eb3fbd2feaf07fcacaa4f55881d Mon Sep 17 00:00:00 2001 From: s243a Date: Thu, 20 Aug 2026 20:09:54 -0600 Subject: [PATCH] fix(web): show the full path in file link tooltips (#7741) Co-authored-by: John William Creighton (s243a) Co-authored-by: Claude Opus 5 (1M context) --- apps/web/src/components/ChatMarkdown.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/web/src/components/ChatMarkdown.tsx b/apps/web/src/components/ChatMarkdown.tsx index c4548540e2cec7e7a2e1e6a0b58e60d306fe94bf..c3e1c5288da7c379dfc0c598903c144afcb54c06 100644 --- a/apps/web/src/components/ChatMarkdown.tsx +++ b/apps/web/src/components/ChatMarkdown.tsx @@ -1323,8 +1323,10 @@ const MarkdownFileLink = memo(function MarkdownFileLink({ side="top" className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight" > + {/* The full path: the chip already shows the shortened form, and a link + to the workspace root collapses to a bare label that repeats it. */}
- {displayPath} + {targetPath}
-- 2.54.0