refactor: extract shared client task operations #322

Closed
opened 2026-05-11 19:20:26 +00:00 by barrettruth · 0 comments
Owner

Parent: #305

Problem

Queue, kanban, calendar, and legacy task list components each own pieces of task operation behavior. Completing, deleting, status-changing, undoing, handling recurrence deletes, closing panels, and refreshing routes should not drift across views.

Solution

Extract shared client task operations:

  • add a hook or small client service for complete/delete/status-change flows
  • centralize undo payload handling and panel-closing behavior
  • centralize recurrence-delete prompts/results where possible
  • delete or rewire the legacy TaskList component if it is no longer part of the primary UI
  • preserve view-specific rendering and selection behavior

Acceptance criteria

  • Queue, kanban, and calendar task operations share the same mutation/undo helpers.
  • View-specific UI remains in each view; shared code owns only common operations.
  • The unused task-list path is removed or given a real owner.
  • Relevant task operation tests and just lint pass.
Parent: #305 ## Problem Queue, kanban, calendar, and legacy task list components each own pieces of task operation behavior. Completing, deleting, status-changing, undoing, handling recurrence deletes, closing panels, and refreshing routes should not drift across views. ## Solution Extract shared client task operations: - add a hook or small client service for complete/delete/status-change flows - centralize undo payload handling and panel-closing behavior - centralize recurrence-delete prompts/results where possible - delete or rewire the legacy `TaskList` component if it is no longer part of the primary UI - preserve view-specific rendering and selection behavior ## Acceptance criteria - Queue, kanban, and calendar task operations share the same mutation/undo helpers. - View-specific UI remains in each view; shared code owns only common operations. - The unused task-list path is removed or given a real owner. - Relevant task operation tests and `just lint` pass.
barrettruth added this to the v0.1.0 milestone 2026-05-11 19:20:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/delta#322
No description provided.