Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
fix(web): show the full path in file link tooltips (#7741)
s243a6d3bf01b4f02
diff --git a/apps/web/src/components/ChatMarkdown.tsx b/apps/web/src/components/ChatMarkdown.tsxindex c4548540e..c3e1c5288 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. */}<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">- {displayPath}+ {targetPath}</div></TooltipPopup></Tooltip>