Skip to content

Consolidate task mutation completion handling #60

Description

@coderabbitai

Summary

Extract the repeated task mutation completion sequence into useTaskMutation(document, messages).

Required changes

  • Centralize query invalidation, notification, and dialog close behavior.
  • Replace duplicated mutation completion logic in each task mutation UI.

Affected areas

  • CreateTaskModal
  • EditTaskModal
  • DeleteTaskDialog
  • New useTaskMutation hook

Acceptance criteria

  • The three task mutation flows use the shared hook.
  • Invalidate, notify, and close behavior remains unchanged.

Source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions