@devries-cameron20 / t3code Mirror · read-only / commits / dd920846b9
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 25, 19:45 UTC

Show git step details only on failure

- Render `step.detail` only for failed step states - Keep failed detail text styled in warning red tone Co-authored-by: codex <codex@users.noreply.github.com>

Julius Marminge committed Feb 12, 2026 at 14:47 UTC dd920846b9195275e6d8605a0f61cf8786cfa469
1 file changed +4 -6
apps/web/src/components/GitActionsControl.tsx
+4 -6
@@ -746,10 +746,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
746 gitModalSteps.map((step, index) => {
747 const borderClass =
748 index < gitModalSteps.length - 1 ? "border-b border-border/70" : "";
749 - const statusTextClass =
750 - step.status === "failed"
751 - ? "text-rose-500 dark:text-rose-300"
752 - : "text-muted-foreground/70";
749
750 return (
751 <div
@@ -771,8 +767,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
767 </span>
768 <div className="min-w-0">
769 <p className="text-sm text-foreground">{step.label}</p>
774 - {step.detail && (
775 - <p className={`mt-0.5 text-xs ${statusTextClass}`}>{step.detail}</p>
770 + {step.status === "failed" && step.detail && (
771 + <p className="mt-0.5 text-xs text-rose-500 dark:text-rose-300">
772 + {step.detail}
773 + </p>
774 )}
775 </div>
776 </div>