@devries-cameron20 / t3code Mirror · read-only / commits / ced865c224
Fork 0

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, 20:30 UTC

fix(web): PR checks status collapses to its icon instead of wrapping (#14700)

oliver committed Oct 1, 2026 at 20:20 UTC ced865c224ebb7dd2cbd0f2931d6e33559b9343a
1 file changed +11 -4
apps/web/src/components/pullRequest/PullRequestDetailPanel.tsx
+11 -4
@@ -1517,6 +1517,8 @@ export function PullRequestDetailPanel({
1517 const statePresentation = detail
1518 ? resolvePullRequestState({ state: detail.state, isDraft: detail.isDraft })
1519 : null;
1520 + const showsApproveWorkflows =
1521 + workflowApprovalsRequired > 0 && !checksStale && can("approve-workflows");
1522 const checksSummary = checksStale
1523 ? checksState === null
1524 ? "No checks reported"
@@ -2551,8 +2553,13 @@ export function PullRequestDetailPanel({
2553 ))}
2554 </ToggleGroup>
2555 {tab === "summary" ? (
2554 - <span className="ml-auto inline-flex shrink-0 items-center">
2555 - {workflowApprovalsRequired > 0 && !checksStale && can("approve-workflows") ? (
2556 + <span
2557 + className={cn(
2558 + "ml-auto flex items-center justify-end",
2559 + showsApproveWorkflows ? "shrink-0" : "min-w-0 flex-1",
2560 + )}
2561 + >
2562 + {showsApproveWorkflows ? (
2563 <Tooltip>
2564 <TooltipTrigger
2565 render={
@@ -2588,7 +2595,7 @@ export function PullRequestDetailPanel({
2595 </Tooltip>
2596 ) : (
2597 <span
2591 - className="inline-flex items-center gap-1.5 text-xs text-muted-foreground"
2598 + className="flex h-4 min-w-0 flex-wrap content-start items-center justify-end gap-x-1.5 overflow-hidden text-xs text-muted-foreground"
2599 aria-label={checksSummary ? `Checks: ${checksSummary}` : "Checks"}
2600 >
2601 {checksState !== null ? (
@@ -2601,7 +2608,7 @@ export function PullRequestDetailPanel({
2608 ) : (
2609 <CircleDotIcon aria-hidden className="size-3.5" />
2610 )}
2604 - {checksSummary}
2611 + <span className="whitespace-nowrap">{checksSummary}</span>
2612 </span>
2613 )}
2614 </span>