Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Show git step details only on failure

Julius Marmingedd920846b919
diff --git a/apps/web/src/components/GitActionsControl.tsx b/apps/web/src/components/GitActionsControl.tsx
index fcbd9e0f1..696f4307d 100644
--- a/apps/web/src/components/GitActionsControl.tsx
+++ b/apps/web/src/components/GitActionsControl.tsx
@@ -746,10 +746,6 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
gitModalSteps.map((step, index) => {
const borderClass =
index < gitModalSteps.length - 1 ? "border-b border-border/70" : "";
- const statusTextClass =
- step.status === "failed"
- ? "text-rose-500 dark:text-rose-300"
- : "text-muted-foreground/70";
return (
<div
@@ -771,8 +767,10 @@ export default function GitActionsControl({ api, gitCwd }: GitActionsControlProp
</span>
<div className="min-w-0">
<p className="text-sm text-foreground">{step.label}</p>
- {step.detail && (
- <p className={`mt-0.5 text-xs ${statusTextClass}`}>{step.detail}</p>
+ {step.status === "failed" && step.detail && (
+ <p className="mt-0.5 text-xs text-rose-500 dark:text-rose-300">
+ {step.detail}
+ </p>
)}
</div>
</div>