diff --git a/.automaker/feature_list.json b/.automaker/feature_list.json index da003be0..709b0c05 100644 --- a/.automaker/feature_list.json +++ b/.automaker/feature_list.json @@ -274,5 +274,23 @@ "summary": "Fixed all TypeScript errors in the codebase. Modified: src/app/api/claude/test/route.ts (rewrote to use fetch instead of missing @anthropic-ai/sdk), src/lib/electron.ts (fixed saveImageToTemp signature, removed duplicate Window declaration), src/types/electron.d.ts (added deleteFile, resumeFeature, contextExists, analyzeProject methods), src/store/app-store.ts (added FileTreeNode, ProjectAnalysis types and analysis state/actions), src/components/views/analysis-view.tsx (added type annotations for implicit any), src/hooks/use-electron-agent.ts (fixed return type to include queue properties). Created: src/components/ui/badge.tsx (new component required by chat-history.tsx).", "model": "opus", "thinkingLevel": "ultrathink" + }, + { + "id": "feature-1765371638849-1gfiifuqy", + "category": "Uncategorized", + "description": "So currently we have both predefined profiles and custom one created by users and custom tweaking in modal tab when creatign new feature for ai agent to run i want you to add an abbility in our settings view to have enabled only showing profiels by default and what that mean that the model tweaking like selecting bewteen claude / codex and thinking mode is hidden and only profiles are shown so the ui wont be ower head and if users want to tweaks seetings they can always reenabled it in setting view ", + "steps": [], + "status": "verified", + "imagePaths": [ + { + "id": "img-1765371471290-6jcmwkviv", + "path": "/Users/shirone/Library/Application Support/automaker/images/1765371471287-jejcmoc8q_SCR-20251210-lpki.png", + "filename": "SCR-20251210-lpki.png", + "mimeType": "image/png" + } + ], + "skipTests": true, + "model": "sonnet", + "thinkingLevel": "medium" } ] \ No newline at end of file diff --git a/app/src/components/views/board-view.tsx b/app/src/components/views/board-view.tsx index 71b7aa39..6bf5b50a 100644 --- a/app/src/components/views/board-view.tsx +++ b/app/src/components/views/board-view.tsx @@ -185,6 +185,7 @@ export function BoardView() { setMaxConcurrency, defaultSkipTests, useWorktrees, + showProfilesOnly, aiProfiles, } = useAppStore(); const [activeFeature, setActiveFeature] = useState(null); @@ -223,6 +224,9 @@ export function BoardView() { const [followUpPreviewMap, setFollowUpPreviewMap] = useState( () => new Map() ); + // Local state to temporarily show advanced options when profiles-only mode is enabled + const [showAdvancedOptions, setShowAdvancedOptions] = useState(false); + const [showEditAdvancedOptions, setShowEditAdvancedOptions] = useState(false); // Make current project available globally for modal useEffect(() => { @@ -1619,9 +1623,10 @@ export function BoardView() { {/* Add Feature Dialog */} { setShowAddDialog(open); - // Clear preview map when dialog closes + // Clear preview map and reset advanced options when dialog closes if (!open) { setNewFeaturePreviewMap(new Map()); + setShowAdvancedOptions(false); } }}> + {/* Show Advanced Options Toggle - only when profiles-only mode is enabled */} + {showProfilesOnly && ( +
+
+

+ Simple Mode Active +

+

+ Only showing AI profiles. Advanced model tweaking is hidden. +

+
+ +
+ )} + {/* Quick Select Profile Section */} {aiProfiles.length > 0 && (
@@ -1775,9 +1803,10 @@ export function BoardView() { )} {/* Separator */} - {aiProfiles.length > 0 &&
} + {aiProfiles.length > 0 && (!showProfilesOnly || showAdvancedOptions) &&
} - {/* Claude Models Section */} + {/* Claude Models Section - Hidden when showProfilesOnly is true and showAdvancedOptions is false */} + {(!showProfilesOnly || showAdvancedOptions) && (
)}
+ )} {/* Separator */} -
+ {(!showProfilesOnly || showAdvancedOptions) &&
} - {/* Codex Models Section */} + {/* Codex Models Section - Hidden when showProfilesOnly is true and showAdvancedOptions is false */} + {(!showProfilesOnly || showAdvancedOptions) && (
+ )} {/* Testing Tab */} @@ -1960,7 +1992,12 @@ export function BoardView() { {/* Edit Feature Dialog */} setEditingFeature(null)} + onOpenChange={(open) => { + if (!open) { + setEditingFeature(null); + setShowEditAdvancedOptions(false); + } + }} > @@ -2020,6 +2057,29 @@ export function BoardView() { {/* Model Tab */} + {/* Show Advanced Options Toggle - only when profiles-only mode is enabled */} + {showProfilesOnly && ( +
+
+

+ Simple Mode Active +

+

+ Only showing AI profiles. Advanced model tweaking is hidden. +

+
+ +
+ )} + {/* Quick Select Profile Section */} {aiProfiles.length > 0 && (
@@ -2091,9 +2151,10 @@ export function BoardView() { )} {/* Separator */} - {aiProfiles.length > 0 &&
} + {aiProfiles.length > 0 && (!showProfilesOnly || showEditAdvancedOptions) &&
} - {/* Claude Models Section */} + {/* Claude Models Section - Hidden when showProfilesOnly is true and showEditAdvancedOptions is false */} + {(!showProfilesOnly || showEditAdvancedOptions) && (
)}
+ )} {/* Separator */} -
+ {(!showProfilesOnly || showEditAdvancedOptions) &&
} - {/* Codex Models Section */} + {/* Codex Models Section - Hidden when showProfilesOnly is true and showEditAdvancedOptions is false */} + {(!showProfilesOnly || showEditAdvancedOptions) && (
+ )} {/* Testing Tab */} diff --git a/app/src/components/views/settings-view.tsx b/app/src/components/views/settings-view.tsx index a62efda4..f3fe7581 100644 --- a/app/src/components/views/settings-view.tsx +++ b/app/src/components/views/settings-view.tsx @@ -37,6 +37,7 @@ import { Folder, GitBranch, TestTube, + Settings2, } from "lucide-react"; import { getElectronAPI } from "@/lib/electron"; import { Checkbox } from "@/components/ui/checkbox"; @@ -73,6 +74,8 @@ export function SettingsView() { setDefaultSkipTests, useWorktrees, setUseWorktrees, + showProfilesOnly, + setShowProfilesOnly, currentProject, moveProjectToTrash, } = useAppStore(); @@ -1283,6 +1286,40 @@ export function SettingsView() {

+ {/* Profiles Only Setting */} +
+
+ + setShowProfilesOnly(checked === true) + } + className="mt-0.5" + data-testid="show-profiles-only-checkbox" + /> +
+ +

+ When enabled, the Add Feature dialog will show only AI profiles + and hide advanced model tweaking options (Claude SDK, thinking levels, + and OpenAI Codex CLI). This creates a cleaner, less overwhelming UI. + You can always disable this to access advanced settings. +

+
+
+
+ + {/* Separator */} +
+ + {/* Skip Tests Setting */}