diff --git a/frontend/src/components/ai-builder/BranchDetailView.tsx b/frontend/src/components/ai-builder/BranchDetailView.tsx index 629c2acd..dfb73147 100644 --- a/frontend/src/components/ai-builder/BranchDetailView.tsx +++ b/frontend/src/components/ai-builder/BranchDetailView.tsx @@ -51,38 +51,6 @@ export function BranchDetailView() { return (
- {/* Generate All / Stop control */} - {(() => { - const undetailedCount = selectedBranches.filter((b) => !b.steps).length - if (undetailedCount === 0) return null - return ( -
- - {undetailedCount} branch{undetailedCount !== 1 ? 'es' : ''} need detail - - {isGeneratingAll ? ( - - ) : ( - - )} -
- ) - })()} {/* Content area */}
@@ -143,7 +111,7 @@ export function BranchDetailView() {

Generate AI detail for this branch

-
+
+ + {/* Subtle separator + Generate All */} + {selectedBranches.filter((b) => !b.steps).length > 1 && ( + <> +
+ {isGeneratingAll ? ( + + ) : ( + + )} + + )}
)}