+ {/* 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 */}
{/* Branch tabs */}
@@ -83,7 +130,7 @@ export function BranchDetailView() {