@devries-cameron20 / t3code Mirror · read-only / commits / 932cbd4e44
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 21, 18:30 UTC

fix(web): the Fix action on a thread details PR row stays inside the card (#31115)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Yash Singh <saiansh2525@gmail.com>

Pouya Rezvani committed Nov 12, 2026 at 12:16 UTC 932cbd4e44bebc1239b9b9dc81e7e453a29bd351
2 files changed +16 -6
apps/web/src/components/chat/ThreadDetailsPrRow.tsx
+9 -3
@@ -72,6 +72,7 @@ import {
72 AlertDialogTitle,
73 } from "../ui/alert-dialog";
74 import { Button } from "../ui/button";
75 +import { Spinner } from "../ui/spinner";
76 import { toastManager } from "../ui/toast";
77 import { Tooltip, TooltipPopup, TooltipTrigger } from "../ui/tooltip";
78 import {
@@ -371,10 +372,15 @@ export function ThreadDetailsPrRow({
372 : rowAction === "fix"
373 ? {
374 label: "Fix",
374 - pendingLabel: "Preparing...",
375 + pendingLabel: "Fix",
376 pending: handoff === "findings",
377 destructive: true,
377 - suffix: newThreadSuffix,
378 + suffix:
379 + handoff === "findings" ? (
380 + <Spinner size="xs" aria-label="Preparing fix" />
381 + ) : (
382 + newThreadSuffix
383 + ),
384 tooltip:
385 composerTarget === undefined
386 ? "Fix the failing checks in a new thread"
@@ -478,7 +484,7 @@ export function ThreadDetailsPrRow({
484 checksState={checksRollup}
485 checks={detail.checks}
486 variant="count"
481 - render={<ThreadDetailsControl part="meta" />}
487 + render={<ThreadDetailsControl part="meta" className="min-w-0 shrink" />}
488 />
489 ) : null}
490 {watchControl("icon")}
apps/web/src/components/pullRequest/PullRequestChecksPopover.tsx
+7 -3
@@ -182,11 +182,15 @@ export function PullRequestChecksPopover({
182 {variant === "count" ? (
183 <>
184 {checks !== undefined && incompleteCount > 0 ? (
185 - <span className="tabular-nums">
186 - {checks.length - incompleteCount}/{checks.length} checks
185 + // Clip the second line so "checks" disappears whole when the count must shrink.
186 + <span className="h-lh min-w-0 overflow-hidden text-left whitespace-normal tabular-nums">
187 + <span className="whitespace-nowrap">
188 + {checks.length - incompleteCount}/{checks.length}
189 + </span>{" "}
190 + checks
191 </span>
192 ) : failedCount > 0 ? (
189 - <span className="tabular-nums">{failedCount} failed</span>
193 + <span className="min-w-0 truncate tabular-nums">{failedCount} failed</span>
194 ) : null}
195 </>
196 ) : null}