authorgravatar for JohnCreighton_@hotmail.coms243a <JohnCreighton_@hotmail.com> 2026-08-20 20:09:54-06:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-08-20 22:09:54-04:00
log6d3bf01b4f021eb3fbd2feaf07fcacaa4f55881d
tree01dcce9a832133707508c7b4f9c294f70f7c2b0e
parente723501227b7d1d0b960eb8fcfd9c8d6099d805e
signature Signed by PGP key B5690EEEBB952194

fix(web): show the full path in file link tooltips (#7741)

Co-authored-by: John William Creighton (s243a) <s243a@users.noreply.github.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

1 files changed, 3 insertions(+), 1 deletions(-)

apps/web/src/components/ChatMarkdown.tsx+3-1
...@@ -1323,8 +1323,10 @@ const MarkdownFileLink = memo(function MarkdownFileLink({...@@ -1323,8 +1323,10 @@ const MarkdownFileLink = memo(function MarkdownFileLink({
1323 side="top"1323 side="top"
1324 className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight"1324 className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight"
1325 >1325 >
1326 {/* The full path: the chip already shows the shortened form, and a link
1327 to the workspace root collapses to a bare label that repeats it. */}
1326 <div className="overflow-x-auto whitespace-nowrap [scrollbar-color:color-mix(in_srgb,var(--border)_78%,transparent)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[color-mix(in_srgb,var(--border)_78%,transparent)] [&::-webkit-scrollbar-track]:bg-transparent">1328 <div className="overflow-x-auto whitespace-nowrap [scrollbar-color:color-mix(in_srgb,var(--border)_78%,transparent)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar]:h-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-[color-mix(in_srgb,var(--border)_78%,transparent)] [&::-webkit-scrollbar-track]:bg-transparent">
1327 {displayPath}1329 {targetPath}
1328 </div>1330 </div>
1329 </TooltipPopup>1331 </TooltipPopup>
1330 </Tooltip>1332 </Tooltip>