From cd52a0bbda67b3f944045b51657c6c6e96a64509 Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Tue, 23 Jun 2026 11:46:29 +0100 Subject: [PATCH] fixed --- Modules/Helpdesk/Livewire/TicketCreate.php | 8 -- Modules/Helpdesk/README.md | 17 +++ .../views/components/html-editor.blade.php | 6 +- .../views/livewire/ticket-create.blade.php | 132 ++---------------- .../views/livewire/ticket-show.blade.php | 39 ++++-- .../views/partials/ticket-controls.blade.php | 79 +++++++---- Modules/Helpdesk/changelog.yaml | 10 ++ Modules/Helpdesk/module.json | 2 +- 8 files changed, 127 insertions(+), 166 deletions(-) diff --git a/Modules/Helpdesk/Livewire/TicketCreate.php b/Modules/Helpdesk/Livewire/TicketCreate.php index 5ee2e5d1..ff4e2f4d 100644 --- a/Modules/Helpdesk/Livewire/TicketCreate.php +++ b/Modules/Helpdesk/Livewire/TicketCreate.php @@ -139,14 +139,6 @@ final class TicketCreate extends Component $this->subject = ''; $this->body = ''; - $this->company_id = null; - $this->board_id = null; - $this->priority_id = null; - $this->category_id = null; - $this->project_id = null; - $this->product_id = null; - $this->team_id = null; - $this->due_at = null; $this->tag_ids = []; $this->attachments = []; diff --git a/Modules/Helpdesk/README.md b/Modules/Helpdesk/README.md index 0e859673..7b53a062 100644 --- a/Modules/Helpdesk/README.md +++ b/Modules/Helpdesk/README.md @@ -302,3 +302,20 @@ The module should keep tests around: - Reference sequence collision prevention. - Browser spellcheck attributes on writable fields. + +## Rich Editor, Spellcheck, Clear and Close Workflow + +The ticket create and reply forms use rich HTML editing controls. Do not replace the rich editor with a plain ` - - - +

- Use right-click or Ctrl-click on a red-underlined word to see browser spelling suggestions. + Rich formatting is available. Browser spelling suggestions appear by right-clicking or Ctrl-clicking red-underlined words.

- - @error('body') -

{{ $message }}

- @enderror
@@ -323,97 +299,17 @@ -
+ \ No newline at end of file diff --git a/Modules/Helpdesk/Resources/views/livewire/ticket-show.blade.php b/Modules/Helpdesk/Resources/views/livewire/ticket-show.blade.php index 9f1402ad..f41022a7 100644 --- a/Modules/Helpdesk/Resources/views/livewire/ticket-show.blade.php +++ b/Modules/Helpdesk/Resources/views/livewire/ticket-show.blade.php @@ -403,27 +403,40 @@
- -
-
-

Spellcheck reply

- - - Right-click suggestions - +
+
+ + + + + + +
- +
{!! $oldCommentBody !!}
+ +

- Browser suggestions appear from the context menu on underlined words. + Rich formatting is available. Browser suggestions appear from the context menu on underlined words.

diff --git a/Modules/Helpdesk/Resources/views/partials/ticket-controls.blade.php b/Modules/Helpdesk/Resources/views/partials/ticket-controls.blade.php index 991480f6..a7e13032 100644 --- a/Modules/Helpdesk/Resources/views/partials/ticket-controls.blade.php +++ b/Modules/Helpdesk/Resources/views/partials/ticket-controls.blade.php @@ -211,34 +211,65 @@ @endcan diff --git a/Modules/Helpdesk/changelog.yaml b/Modules/Helpdesk/changelog.yaml index ac68fc05..edb5aea7 100644 --- a/Modules/Helpdesk/changelog.yaml +++ b/Modules/Helpdesk/changelog.yaml @@ -174,3 +174,13 @@ - Updated README guidance to explain how browser spellcheck suggestions are accessed. - Updated regression coverage for visible spellcheck suggestion guidance. - Preserved append-only changelog history. + +- version: 1.9.46 + date: 2026-06-23 + changes: + - Restored rich text HTML controls for ticket details and main ticket replies. + - Enabled inline browser spellcheck on contenteditable rich editor areas without replacing the editor with plain textareas. + - Fixed ticket create clear action so configured defaults are preserved while subject, details, tags and attachments are cleared. + - Fixed close-ticket modal so selecting a closed status opens the professional closure prompt on the first interaction. + - Preserved the mandatory closure comment workflow and public/internal closure visibility behaviour. + - Added regression coverage notes for rich editor, clear defaults and close-modal workflow. diff --git a/Modules/Helpdesk/module.json b/Modules/Helpdesk/module.json index 9b4eb0ce..4bfa2d10 100644 --- a/Modules/Helpdesk/module.json +++ b/Modules/Helpdesk/module.json @@ -22,5 +22,5 @@ "Modules\\Helpdesk\\Providers\\HelpdeskServiceProvider" ], "files": [], - "version": "1.9.45" + "version": "1.9.46" }