mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user