diff --git a/auto-claude-ui/src/renderer/components/TaskCreationWizard.tsx b/auto-claude-ui/src/renderer/components/TaskCreationWizard.tsx index 81c80f34..6b796e67 100644 --- a/auto-claude-ui/src/renderer/components/TaskCreationWizard.tsx +++ b/auto-claude-ui/src/renderer/components/TaskCreationWizard.tsx @@ -756,49 +756,63 @@ export function TaskCreationWizard({ )} - {/* Referenced Files Section */} - {showFiles && ( -
- {/* Drop zone overlay indicator - shows when dragging over the modal */} - {activeDragData && isOverDropZone && ( + {/* Referenced Files Section - Always visible */} +
+ {/* Drop zone overlay indicator - shows when dragging over the modal */} + {activeDragData && isOverDropZone && ( +
-
- - - {isAtMaxFiles ? `Max ${MAX_REFERENCED_FILES} files reached` : 'Drop to add reference'} - -
+ + + {isAtMaxFiles ? `Max ${MAX_REFERENCED_FILES} files reached` : 'Drop to add reference'} +
- )} -

- Reference specific files or folders from your project to provide context for the AI. -

- setReferencedFiles(prev => prev.filter(f => f.id !== id))} - maxFiles={MAX_REFERENCED_FILES} - disabled={isCreating} - /> - {referencedFiles.length === 0 && ( -

- No files referenced yet. Drag files from the file explorer to add them. -

+
+ )} + + {/* Header */} +
+ + Referenced Files + {referencedFiles.length > 0 && ( + + {referencedFiles.length}/{MAX_REFERENCED_FILES} + )}
- )} + + {/* Empty state hint */} + {referencedFiles.length === 0 ? ( +

+ Drag files from the file explorer to add references, or use the "Browse Files" button below. +

+ ) : ( + <> +

+ These files will provide context for the AI when working on your task. +

+ setReferencedFiles(prev => prev.filter(f => f.id !== id))} + maxFiles={MAX_REFERENCED_FILES} + disabled={isCreating} + /> + + )} +
{/* Review Requirement Toggle */}