tududi/frontend/components/Task/TaskForm
Chris c33682bac0
Fix subtask completion not persisting when onSubtaskUpdate is not provided (#920) (#932)
When toggling subtask completion in TaskSubtasksSection, the toggle handler
required onSubtaskUpdate callback to make the API call. Components like
TaskSubtasksCard don't pass this callback, so toggling fell through to the
local-only state update path, never sending a network request.

Add an intermediate code path: when the subtask is persisted but
onSubtaskUpdate is not provided, call toggleTaskCompletion() directly
to persist the change, then update local state.

Fixes #920
2026-03-10 17:23:29 +02:00
..
TaskAttachmentsSection.tsx Cleanup recurring tasks 2025-12-07 14:12:38 +02:00
TaskContentSection.tsx Fix/note checkboxes (#486) 2025-11-05 16:09:51 +02:00
TaskDeferUntilSection.tsx Feat add defer until date (#592) 2025-11-24 21:57:30 +02:00
TaskDueDateSection.tsx Fix redesign recurring tasks (#582) 2025-11-19 17:03:26 +02:00
TaskPrioritySection.tsx Fix redesign recurring tasks (#582) 2025-11-19 17:03:26 +02:00
TaskProjectSection.tsx Scaffold smtp service (#590) 2025-11-24 17:58:09 +02:00
TaskRecurrenceSection.tsx Fix Sunday selection in monthly weekday recurrence (#859) 2026-02-24 13:46:48 +02:00
TaskSectionToggle.tsx Add file attacmhments 2025-12-07 14:12:38 +02:00
TaskSubtasksSection.tsx Fix subtask completion not persisting when onSubtaskUpdate is not provided (#920) (#932) 2026-03-10 17:23:29 +02:00
TaskTagsSection.tsx Lint frontend (#131) 2025-07-09 12:23:55 +03:00
TaskTitleSection.tsx Tweak playwright options (#303) 2025-09-09 12:53:40 +03:00
WeekdaySelector.tsx Fix redesign recurring tasks (#582) 2025-11-19 17:03:26 +02:00