feat(projects): show the project's own change history and edited marker (PMS-205) #113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/mapps-205-project-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
Implements PMS-205: the project detail page now shows the project's own change history (who/when + before/after content) and an "edited" marker on the Overview, matching what tasks already had.
SPA only - no backend change. The backend already records project edits (
update_projectwrites before/after snapshots andprojectsis whitelisted byGET /audit-log/entity/{type}/{id}); the page just never surfaced them.Changes
GET /api/v1/audit-log/entity/projects/{id}.old → newcontent (reusing the PMS-204 formatting helpers).Acceptance criteria
🤖 Generated with Claude Code
The project detail page let you edit the Overview and the backend already recorded each edit (entity_type "projects" is whitelisted by the history endpoint and update_project writes before/after snapshots), but the page never surfaced it. Add a project history resource (GET /audit-log/entity/projects/{id}), a Change History card on the project detail showing who/when plus the before/after content of each edit (reusing the PMS-204 helpers), and an "Edited {when} by {who}" marker on the Overview card. The project-edit modal now restarts the history resource on save so a fresh edit shows immediately. SPA only, no backend change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>