feat(projects): edit project and tasks with change history (PMS-184) #111
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-184-task-edit-history"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
SPA half of PMS-184: edit a project from its Overview, open each task to view/edit it, and see a task's change history with an "edited" marker.
Depends on mokosh-server PR #155 (task/project audit writes) and PR #154 (the per-record history endpoint).
Changes
PUT /api/v1/projects/{id}.PUT /api/v1/tasks/{id}.GET /api/v1/audit-log/entity/tasks/{id}(action + changed fields, actor resolved to a name via/auth/users, timestamp) and an "Edited {when} by {who}" marker.Acceptance criteria
🤖 Generated with Claude Code
Add an Edit button to the project Overview that opens a modal (name, description, status, manager, dates, budgets) saving via PUT /projects/{id}. Make each task row clickable: it opens a task edit modal (title, description, status, priority, assignee, estimate, due date) that saves via PUT /tasks/{id} and shows the task's change history from GET /audit-log/entity/tasks/{id} (action + changed fields, actor resolved via /auth/users, timestamp) plus an "Edited {when} by {who}" marker. Both modals restart the underlying resources on save so changes reflect without a reload. Depends on mokosh-server #155 (task/project audit writes) and #154 (history endpoint). Follows the shared edit + history + edited-badge pattern from PMS-185 and PMS-182. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>