The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 24, 15:15 UTC
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>
s243a committed
Aug 20, 2026 at 20:09 UTC
6d3bf01b4f021eb3fbd2feaf07fcacaa4f55881d
1 file changed
+3
-1
apps/web/src/components/ChatMarkdown.tsx
+3
-1
@@ -1323,8 +1323,10 @@ const MarkdownFileLink = memo(function MarkdownFileLink({
1323
side="top"
1324
className="max-w-[min(40rem,calc(100vw-2rem))] font-mono text-[11px] leading-tight"
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. */}
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}
1330
</div>
1331
</TooltipPopup>
1332
</Tooltip>