fully working tests both phpunit and dusk

This commit is contained in:
Mark Gregory
2026-06-29 11:14:47 +01:00
parent eaa8c6ebe3
commit 8a07f14b63
7 changed files with 169 additions and 90 deletions
+12
View File
@@ -644,3 +644,15 @@
- Fixed main ticket index user N+1 by loading direct user aliases and rendering scalar agent names.
- Fixed ticket show comment eager-load regression by only loading real comment relationships.
- Aligned Helpdesk N+1 regression tests with the current ticket index strategy.
- version: 1.10.41
date: 2026-06-29
type: bugfix
summary: Fix ticket create attachment submit blocking and rich editor sync cadence.
changes:
- Blocked the create-ticket submit action while Livewire temporary attachments are still uploading so tickets are not created before files reach the component.
- Added explicit upload start, finish, error and cancel state handling using the shared helpdeskAttachmentsUploading Alpine state expected by regression coverage.
- Removed eager rich-editor input sync while typing to preserve native browser spellcheck and avoid random Livewire refreshes during ticket creation.
- Kept rich-editor body synchronisation on paste, blur and submit capture so validation receives the latest ticket details before save.
- Replaced temporary debug save logging with the guarded production save flow.
- Preserved append-only changelog history.