Skip to content

Task Activity Log: auto-log task field changes #29

@TheSethRose

Description

@TheSethRose

Summary

Expand task activity logging so status, priority, tag, and project changes appear in the task history.

Current behavior

  • Work notes exist and are rendered in the task modal via src/components/ui/work-notes.tsx.
  • Updates through src/app/api/tasks/route.ts do not consistently add system entries for field changes.

Target behavior

  • Append a system work note on status changes, priority changes, tag edits, and project reassignment.
  • Include timestamps and a concise diff summary in each entry.

Scope

  • Server-side instrumentation in task update endpoints.
  • Minimal UI change, reusing WorkNotes component.

Acceptance criteria

  • Editing a task adds a new system note reflecting the field updates.
  • Completion status changes include the status transition entry.
  • Work notes remain merged via existing merge logic in src/lib/work-notes.ts.

References

  • src/app/api/tasks/route.ts
  • src/app/api/tasks/[id]/route.ts
  • src/components/ui/work-notes.tsx
  • src/lib/work-notes.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions