feat(automaker): enhance feature management and UI components

- Updated `.gitignore` to include agent context files and user-uploaded images for better organization.
- Added "Uncategorized" category to `categories.json` for improved feature classification.
- Populated `feature_list.json` with new features, including detailed descriptions and image attachments for better context.
- Changed application icon to `icon_gold.png` for a refreshed look.
- Enhanced `AutoModeService` to support max concurrency and periodic checks, improving feature execution management.
- Updated image handling in `DescriptionImageDropZone` to save images in the project directory.
- Improved UI components with better styling and responsiveness, including drag-and-drop functionality for project management.

This update significantly enhances the feature management process and user experience within the application.
This commit is contained in:
Cody Seibert
2025-12-09 21:23:09 -05:00
parent ac5b562f7a
commit 7b760090e4
28 changed files with 1207 additions and 774 deletions

View File

@@ -148,11 +148,11 @@ export function useAutoMode() {
throw new Error("Auto mode API not available");
}
const result = await api.autoMode.start(currentProject.path);
const result = await api.autoMode.start(currentProject.path, maxConcurrency);
if (result.success) {
setAutoModeRunning(true);
console.log("[AutoMode] Started successfully");
console.log(`[AutoMode] Started successfully with maxConcurrency: ${maxConcurrency}`);
} else {
console.error("[AutoMode] Failed to start:", result.error);
throw new Error(result.error || "Failed to start auto mode");
@@ -162,7 +162,7 @@ export function useAutoMode() {
setAutoModeRunning(false);
throw error;
}
}, [currentProject, setAutoModeRunning]);
}, [currentProject, setAutoModeRunning, maxConcurrency]);
// Stop auto mode
const stop = useCallback(async () => {

View File

@@ -62,7 +62,7 @@ export function useElectronAgent({
imageCount: images?.length || 0
});
// Save images to temp files and get paths
// Save images to .automaker/images and get paths
let imagePaths: string[] | undefined;
if (images && images.length > 0) {
imagePaths = [];
@@ -70,11 +70,12 @@ export function useElectronAgent({
const result = await window.electronAPI.saveImageToTemp(
image.data,
image.filename,
image.mimeType
image.mimeType,
workingDirectory // Pass workingDirectory as projectPath
);
if (result.success && result.path) {
imagePaths.push(result.path);
console.log("[useElectronAgent] Saved image to temp:", result.path);
console.log("[useElectronAgent] Saved image to .automaker/images:", result.path);
} else {
console.error("[useElectronAgent] Failed to save image:", result.error);
}
@@ -304,7 +305,7 @@ export function useElectronAgent({
imageCount: images?.length || 0
});
// Save images to temp files and get paths
// Save images to .automaker/images and get paths
let imagePaths: string[] | undefined;
if (images && images.length > 0) {
imagePaths = [];
@@ -312,11 +313,12 @@ export function useElectronAgent({
const result = await window.electronAPI.saveImageToTemp(
image.data,
image.filename,
image.mimeType
image.mimeType,
workingDirectory // Pass workingDirectory as projectPath
);
if (result.success && result.path) {
imagePaths.push(result.path);
console.log("[useElectronAgent] Saved image to temp:", result.path);
console.log("[useElectronAgent] Saved image to .automaker/images:", result.path);
} else {
console.error("[useElectronAgent] Failed to save image:", result.error);
}