From cb1a3f34670b06148d88806a9534772879c30ecd Mon Sep 17 00:00:00 2001
From: Bilal Bakr <62337003+Bil0000@users.noreply.github.com>
Date: Thu, 24 Sep 2026 19:20:52 +0300
Subject: [PATCH] fix(web): show repository names on linked pull requests
(#13061)
---
.../pullRequest/ThreadPullRequestsPanel.tsx | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx b/apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx
index 15221f26e63dfa3d2e1b1b72ad4893c843758670..d9a8b60c36e24cf242552a76cd7f71af30b49dfe 100644
--- a/apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx
+++ b/apps/web/src/components/pullRequest/ThreadPullRequestsPanel.tsx
@@ -16,6 +16,7 @@ import { useAtomCommand } from "~/state/use-atom-command";
import { formatRelativeTimeLabel } from "~/timestampFormat";
import { Button } from "../ui/button";
import { Menu, MenuItem, MenuPopup, MenuTrigger } from "../ui/menu";
+import { MiddleTruncate } from "../ui/middle-truncate";
import { ScrollArea } from "../ui/scroll-area";
import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
import { openLinkPullRequestDialog } from "./LinkPullRequestDialog";
@@ -161,7 +162,17 @@ function LinkRow({
/>
) : null}
{snapshot !== null ? (
-
+ <>
+ {/* Cut in the middle: rows from one owner differ in the repository name at the
+ end, which a tail cut would hide. */}
+
+ }>
+
+
+ {link.repository}
+
+
+ >
) : (
{link.host}/{link.repository}
--
2.54.0