feat(project): add workspace directory configuration and management #1
Reference in New Issue
Block a user
Delete Branch "001-project-workspace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add projectDir field to Project model for workspace directory management
Implement workspace directory creation, validation and Git initialization
Add workspace status query endpoint with directory info and Git status
Create GitManager for Git repository operations (clone, branch, commit info)
Add PathValidator for secure path validation and traversal attack prevention
Implement execution queue with concurrency control for build tasks
Refactor project list UI to remove edit/delete actions from cards
Add project settings tab in detail page with edit/delete functionality
Add icons to all tabs (History, Code, Settings)
Implement time formatting with dayjs in YYYY-MM-DD HH:mm:ss format
Display all timestamps using browser's local timezone
Update PipelineRunner to use workspace directory for command execution
Add workspace status card showing directory path, size, Git info
Enhance CreateProjectModal with repository URL validation