You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tasks: add a detail view (open a task to see full description, edit, link to logs) #422
The Tasks list page (Phase 3.2) only supports inline todo ↔ done toggling — there's no way to open a task and see its full description, punchlist context, or edit its fields. Add a detail screen reachable by tapping a task row that shows the full description, supports editing title/description/status, and lets a user link the task to a work log (the API already supports POST /:id/complete with an optional workLogId).
This closes a named Phase 3.3 gap in the dogfooding roadmap and is a prerequisite for trusting in-product Tasks enough to fully retire the markdown bug/idea trackers.
Most of this issue had already shipped in 2d05fa13b — the detail screen has edit-in-place for title/description/status/priority, punchlist context, and delete. The part that hadn't is the one the issue names specifically: linking a task to a work log. completed_at was shown as read-only metadata and there was no way to complete a task from the detail view at all, even though POST /:id/complete has accepted an optional workLogId the whole time.
Added a Complete section, shown only while the task isn't done. It lists the user's ten most recent work logs as optional evidence — tap to select, tap again to clear. "Mark done" completes plainly; "Mark done & link log" posts the selected workLogId. Both the task and workLogs query keys are invalidated, since the linked log's task list changes too.
Ten logs rather than a full picker: the question is "which log does this task belong to", and anything longer belongs on the log side.
Verified end to end against the live local API, not just typechecked:
One thing worth recording: four of my assumptions were wrong and the typechecker caught all four. The notable one — WorkLogsListResponse is { workLogs }, not{ data }. The SDK isn't consistent across resources; notifications uses data. Assuming an envelope is precisely how #382's always-empty panel happened, and it only got caught here because nothing casts the types away.
Activity
feat(tasks): complete a task, optionally linking a work log (#422)
thinkclay commentedon Jul 30, 2026
Closed by
ac9ef9285.Most of this issue had already shipped in
2d05fa13b— the detail screen has edit-in-place for title/description/status/priority, punchlist context, and delete. The part that hadn't is the one the issue names specifically: linking a task to a work log.completed_atwas shown as read-only metadata and there was no way to complete a task from the detail view at all, even thoughPOST /:id/completehas accepted an optionalworkLogIdthe whole time.Added a Complete section, shown only while the task isn't done. It lists the user's ten most recent work logs as optional evidence — tap to select, tap again to clear. "Mark done" completes plainly; "Mark done & link log" posts the selected
workLogId. Both the task andworkLogsquery keys are invalidated, since the linked log's task list changes too.Ten logs rather than a full picker: the question is "which log does this task belong to", and anything longer belongs on the log side.
Verified end to end against the live local API, not just typechecked:
Test rows removed afterwards.
One thing worth recording: four of my assumptions were wrong and the typechecker caught all four. The notable one —
WorkLogsListResponseis{ workLogs }, not{ data }. The SDK isn't consistent across resources; notifications usesdata. Assuming an envelope is precisely how #382's always-empty panel happened, and it only got caught here because nothing casts the types away.docs: log 2026-07-27 feature-idea routine run (#426)