Merge pull request #102 from AutoMaker-Org/feat/disable-worktree-in-ui

feat: In our Feature Defaults section in setting view we have a...
This commit is contained in:
Web Dev Cody
2025-12-15 12:47:31 -05:00
committed by GitHub

View File

@@ -104,20 +104,21 @@ export function FeatureDefaultsSection({
<div className="border-t border-border/30" /> <div className="border-t border-border/30" />
{/* Worktree Isolation Setting */} {/* Worktree Isolation Setting */}
<div className="group flex items-start space-x-3 p-3 rounded-xl hover:bg-accent/30 transition-colors duration-200 -mx-3"> <div className="group flex items-start space-x-3 p-3 rounded-xl transition-colors duration-200 -mx-3 opacity-60">
<Checkbox <Checkbox
id="use-worktrees" id="use-worktrees"
checked={useWorktrees} checked={useWorktrees}
onCheckedChange={(checked) => onCheckedChange={(checked) =>
onUseWorktreesChange(checked === true) onUseWorktreesChange(checked === true)
} }
disabled={true}
className="mt-1" className="mt-1"
data-testid="use-worktrees-checkbox" data-testid="use-worktrees-checkbox"
/> />
<div className="space-y-1.5"> <div className="space-y-1.5">
<Label <Label
htmlFor="use-worktrees" htmlFor="use-worktrees"
className="text-foreground cursor-pointer font-medium flex items-center gap-2" className="text-foreground font-medium flex items-center gap-2"
> >
<GitBranch className="w-4 h-4 text-brand-500" /> <GitBranch className="w-4 h-4 text-brand-500" />
Enable Git Worktree Isolation Enable Git Worktree Isolation
@@ -129,6 +130,9 @@ export function FeatureDefaultsSection({
Creates isolated git branches for each feature. When disabled, Creates isolated git branches for each feature. When disabled,
agents work directly in the main project directory. agents work directly in the main project directory.
</p> </p>
<p className="text-xs text-orange-500/80 leading-relaxed font-medium">
This feature is still under development and temporarily disabled.
</p>
</div> </div>
</div> </div>
</div> </div>