Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

fix: copy working directory when duplicating task - #52

Merged
jonathanlab merged 3 commits into
mainfrom
fix/duplicate-task-working-dir
Oct 21, 2025
Merged

fix: copy working directory when duplicating task#52
jonathanlab merged 3 commits into
mainfrom
fix/duplicate-task-working-dir

Conversation

@jonathanlab

Copy link
Copy Markdown
Contributor

Summary

  • Fixed issue where duplicating a task didn't copy the working directory configuration
  • Updated useDuplicateTask hook to copy repoPath from original task to duplicated task

Changes

  • Modified src/renderer/hooks/useTasks.ts to add onSuccess callback that copies working directory state
  • Applied linter formatting to vite.main.config.mts

Test plan

  • Duplicate a task that has a working directory configured
  • Verify the duplicated task inherits the working directory
  • Run the duplicated task to confirm it uses the correct working directory

🤖 Generated with Claude Code

jonathanlab and others added 3 commits October 21, 2025 19:32
- Update useDuplicateTask to copy repoPath from original task to new task
- Ensures duplicated tasks inherit the working directory configuration
- Apply linter formatting to vite.main.config.mts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
@jonathanlab
jonathanlab requested a review from a team October 21, 2025 17:44
@jonathanlab
jonathanlab merged commit 0a95dad into main Oct 21, 2025
5 checks passed
@jonathanlab
jonathanlab deleted the fix/duplicate-task-working-dir branch October 21, 2025 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants