WORKIGN COMMENTS

This commit is contained in:
Mark Gregory
2026-06-17 09:05:56 +01:00
parent 8060f7f086
commit 2df11f9f58
6 changed files with 97 additions and 63 deletions
+5 -4
View File
@@ -205,10 +205,11 @@ versions:
- Replaced browser-test Livewire internals with real UI interactions for settings sections, Select2 controls and HTML editors.
- Kept module.json version in sync with changelog.yaml.
"1.3.12":
changed:
- Fixed ticket comment submission by forcing the Helpdesk HTML editor content into Livewire before directly invoking addComment from the form submit path.
- Fixed nested reply submission by applying the same editor-to-Livewire synchronisation before addReply.
- Updated the Helpdesk browser test so comment creation must persist a real helpdesk_comments database row instead of being masked by direct Livewire component mutation.
- Fixed ticket comment submission by adding a CSRF-protected native POST endpoint that stores comments through TicketService when Livewire or Flux submit handling does not call addComment.
- Updated the ticket detail reply form to post directly to the comment endpoint and refresh the conversation from the database after redirect.
- Hardened the Helpdesk HTML editor so native form submissions synchronise the latest editor content before the browser posts the form.
- Added feature and browser coverage proving ticket comments are created in helpdesk_comments and rendered back on the ticket detail page.
- Kept module.json version in sync with changelog.yaml.