feat(tickets): make ticket title editable from the detail edit modal #197
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mapps-188-editable-ticket-title"
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?
The ticket detail edit modal was description-only, so the title could not be changed from the UI even though the server's UpdateTicketRequest accepts it. Status, priority, assignee and asset already have inline editors (PMS-359/PMS-344) and description editing exists (PMS-182); title was the remaining read-only lifecycle field.
Fold a required Title field into the existing edit modal: seed it from the saved ticket on open, validate it is non-empty before submit (the server requires length >= 1), and send both title and description in the PUT /tickets/{id} body. Retitle the modal "Edit Ticket". On success the ticket and change-history resources refresh, so the title edit lands in the Change History pane like the other field edits.
#MAPPS-188
The ticket detail edit modal was description-only, so the title could not be changed from the UI even though the server's UpdateTicketRequest accepts it. Status, priority, assignee and asset already have inline editors (PMS-359/PMS-344) and description editing exists (PMS-182); title was the remaining read-only lifecycle field. Fold a required Title field into the existing edit modal: seed it from the saved ticket on open, validate it is non-empty before submit (the server requires length >= 1), and send both title and description in the PUT /tickets/{id} body. Retitle the modal "Edit Ticket". On success the ticket and change-history resources refresh, so the title edit lands in the Change History pane like the other field edits. #MAPPS-188