feat(tickets): edit ticket description with change history (PMS-182) #110
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-182-ticket-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
Implements the SPA half of PMS-182: a user can edit a ticket's description from the Overview, the change is recorded, and the ticket shows an "edited" marker plus a viewable change history.
Depends on mokosh-server PR #154 (the per-record history endpoint
GET /api/v1/audit-log/entity/tickets/{id}).Changes
PUT /api/v1/tickets/{id}and restarts the ticket + history resources so the page reflects the edit without a reload./auth/users(no bare UUIDs), and the timestamp.descriptioncolumn.Acceptance criteria
🤖 Generated with Claude Code
Add an Edit affordance to the ticket Description card: it opens a modal pre-seeded with the current description, saves via PUT /tickets/{id}, and restarts the ticket + history resources so the change shows without a reload. A new Change History card in the sidebar lists the ticket's field-level edits from GET /audit-log/entity/tickets/{id} (action + changed fields, actor name resolved via /auth/users instead of a UUID, timestamp). An "Edited {when} by {who}" marker appears under the description whenever a prior edit touched the description column. Follows the shared edit + history + edited-badge pattern established for assets (PMS-185). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>