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 23, 23:00 UTC
fix(web): show repository names on linked pull requests (#13061)
Bilal Bakr committed
Sep 24, 2026 at 19:20 UTC
cb1a3f34670b06148d88806a9534772879c30ecd
1 file changed
+12
-1
apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx
+12
-1
@@ -16,6 +16,7 @@ import { useAtomCommand } from "~/state/use-atom-command";
16
import { formatRelativeTimeLabel } from "~/timestampFormat";
17
import { Button } from "../ui/button";
18
import { Menu, MenuItem, MenuPopup, MenuTrigger } from "../ui/menu";
19
+import { MiddleTruncate } from "../ui/middle-truncate";
20
import { ScrollArea } from "../ui/scroll-area";
21
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
22
import { openLinkPullRequestDialog } from "./LinkPullRequestDialog";
@@ -161,7 +162,17 @@ function LinkRow({
162
/>
163
) : null}
164
{snapshot !== null ? (
164
- <PullRequestRowBranches head={snapshot.headBranch} base={snapshot.baseBranch} />
165
+ <>
166
+ {/* Cut in the middle: rows from one owner differ in the repository name at the
167
+ end, which a tail cut would hide. */}
168
+ <Tooltip>
169
+ <TooltipTrigger render={<span className="flex min-w-0 max-w-32 font-mono" />}>
170
+ <MiddleTruncate value={link.repository} showTitle={false} />
171
+ </TooltipTrigger>
172
+ <TooltipPopup>{link.repository}</TooltipPopup>
173
+ </Tooltip>
174
+ <PullRequestRowBranches head={snapshot.headBranch} base={snapshot.baseBranch} />
175
+ </>
176
) : (
177
<span className="truncate font-mono">
178
{link.host}/{link.repository}