feat(tickets): make ticket title editable from the detail edit modal #197

Merged
David merged 2 commits from feat/mapps-188-editable-ticket-title into main 2026-06-16 12:06:41 +02:00
Owner

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
feat(tickets): make ticket title editable from the detail edit modal
Some checks failed
Check / clippy + fmt + tests (pull_request) Has been cancelled
6a02ec353b
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
Merge branch 'main' into feat/mapps-188-editable-ticket-title
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / clippy + fmt + tests (pull_request) Successful in 1m52s
14d2c5a481
David merged commit 5c9c442e85 into main 2026-06-16 12:06:41 +02:00
David deleted branch feat/mapps-188-editable-ticket-title 2026-06-16 12:06:41 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-apps!197
No description provided.