Skip to content

Allow task editing from detail view#63

Merged
bborn merged 1 commit intomainfrom
task/137-allow-task-editing
Jan 9, 2026
Merged

Allow task editing from detail view#63
bborn merged 1 commit intomainfrom
task/137-allow-task-editing

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

  • Add ability to edit existing tasks by pressing e in the task detail view
  • Opens a pre-populated form with the task's current title, body, project, type, and priority
  • On save, updates the task while preserving ID, status, worktree, branch, and timestamps

Test plan

  • Open a task in the detail view
  • Press e to open the edit form
  • Verify form is pre-populated with current task data
  • Edit fields and submit with Ctrl+S
  • Verify task is updated and detail view reflects changes
  • Test canceling with Esc returns to detail view without changes

🤖 Generated with Claude Code

Allow users to edit existing tasks from the task detail view by pressing 'e'.
This opens a pre-populated form with the task's current title, body, project,
type, and priority. On save, the task is updated while preserving its ID,
status, worktree, branch, and timestamps.

Changes:
- Add ViewEditTask view state and Edit key binding ('e')
- Add NewEditFormModel to create forms pre-populated with task data
- Add updateEditTaskForm handler and updateTask command
- Update form header to show "Edit Task" when editing
- Add 'e' key to detail view help text

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit 8f4ea26 into main Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant