authorgravatar for maria@kuuro.netmaria <maria@kuuro.net> 2026-10-09 16:21:27-03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-09 16:21:27-03:00
log7856908b8492b7a5c381aa2d5a5c4d4292eb976b
treec35b82d121866d92336b27a30446e2c8146a4f17
parentecfb7342edde9160b7df4231d4f145c7e4a30530
signature Signed by PGP key B5690EEEBB952194

fix(web): keep checkout stable while pr actions load (#16625)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>

1 files changed, 4 insertions(+), 2 deletions(-)

apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx+4-2
......@@ -1648,10 +1648,10 @@ export function PullRequestDetailPanel({
16481648 actions={
16491649 handoffSummary ? (
16501650 <TooltipProvider delay={150} closeDelay={150} timeout={400}>
1651 {checkoutControl}
16521651 {handoffSummary.state === "open" && handoffSummary.mergeability === "conflicting"
16531652 ? resolveConflictsControl
16541653 : null}
1654 {checkoutControl}
16551655 </TooltipProvider>
16561656 ) : undefined
16571657 }
......@@ -1864,7 +1864,6 @@ export function PullRequestDetailPanel({
18641864 threadRef={null}
18651865 />
18661866 ) : null}
1867 {checkoutControl}
18681867 {/* Said where the Merge button is, because it is the answer to why nobody has
18691868 pressed it: the merge is already asked for, and the host is holding it. */}
18701869 {autoMergeArmed && primaryAction !== "auto-merge-armed" ? (
......@@ -1997,6 +1996,9 @@ export function PullRequestDetailPanel({
19971996 </span>
19981997 </Badge>
19991998 ) : null}
1999 {/* Keep checkout beside the menu so host actions arriving on its left cannot
2000 move a different action under the reader's pointer. */}
2001 {checkoutControl}
20002002 <Menu>
20012003 <Tooltip>
20022004 <TooltipTrigger