Commit graph

16 commits

Author SHA1 Message Date
Chris
1a1b70b5e7
Fix subtask completion not persisting to backend (#920) (#936)
The toggle handler required onSubtaskUpdate callback to make the API
call, but TaskSubtasksCard never provided it. Extract a shared handler
that calls toggleTaskCompletion for persisted subtasks regardless of
whether onSubtaskUpdate is provided, falling back to updating local
state via onSubtasksChange.
2026-03-10 17:30:45 +02:00
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
Chris
2f13d0d4a7
Fix saving subtasks on edit (#806) 2026-01-31 08:29:44 +02:00
Chris
ad8ab3ec72
Fix refactor pt2 (#734)
* Cleanup task routes

* Cleanup frontend tasks

* Clean tasks

* Cleanup project uid

* Cleanup quick capture old modal

* Cleanup taskmodal

* Move all icons to shared components

* Test inbox flow

* fixup! Test inbox flow
2025-12-27 17:46:34 +02:00
Chris
bfeffa069f
Fix an issue with task not completing in TaskDetails view (#620)
* Fix test issues

* Fix uid issue

* Fix id wrong param

* Fix test issues

* fixup! Fix test issues

* fixup! fixup! Fix test issues

* fixup! fixup! fixup! Fix test issues

* fixup! fixup! fixup! fixup! Fix test issues
2025-11-30 14:51:49 +02:00
Chris
fdc01b6901
Wrap long subtask text (#558) 2025-11-17 19:16:24 +02:00
Chris Veleris
4055fde8e1 When task with no priority, set low default 2025-08-01 18:06:50 +03:00
Chris Veleris
3fdc31fb65 Fix an issue with check to done task not moving to completed 2025-07-23 12:22:06 +03:00
Chris Veleris
ec428673a1 Fix check on create and bouncing issues 2025-07-23 12:22:06 +03:00
Chris Veleris
39fa47343e Fix lint issues
Fix test issues

Format fix
2025-07-23 12:22:06 +03:00
Chris Veleris
af653d2d2b Fix subtask issues on project view 2025-07-23 12:22:06 +03:00
Chris Veleris
41d34cc9a2 Update subtasks layout
Update subtasks layout pt2

Update subtasks layout pt2
2025-07-23 12:22:06 +03:00
antanst
5123ca95e9 Lint and formatting fixes 2025-07-23 12:22:06 +03:00
Chris Veleris
3cf9fbe22b Add tests 2025-07-23 12:22:06 +03:00
Chris Veleris
ed20341ded Improve subtasks 2025-07-23 12:22:06 +03:00
Chris Veleris
aab58f9718 Scaffold subtasks 2025-07-23 12:22:06 +03:00