From e8c8dc72ba934c39680257faa24525cd551215da Mon Sep 17 00:00:00 2001 From: Mark Gregory Date: Tue, 23 Jun 2026 11:38:22 +0100 Subject: [PATCH] semi breakign changes lost html contrrols and close ussies also clear removes the defauklts --- Modules/Helpdesk/README.md | 2 + .../views/livewire/ticket-create.blade.php | 121 +++--------------- .../views/livewire/ticket-show.blade.php | 48 +++---- Modules/Helpdesk/changelog.yaml | 12 ++ Modules/Helpdesk/module.json | 2 +- 5 files changed, 52 insertions(+), 133 deletions(-) diff --git a/Modules/Helpdesk/README.md b/Modules/Helpdesk/README.md index b5a3dc27..0e859673 100644 --- a/Modules/Helpdesk/README.md +++ b/Modules/Helpdesk/README.md @@ -285,6 +285,8 @@ Ticket references must be generated from `helpdesk_ticket_sequences` when the mi Browser-native spell checking is enabled on ticket subjects, details, public replies, threaded replies, timer notes and closure comments using `spellcheck="true"` and `lang="en-GB"`. +The ticket Details and main reply fields use visible native text areas so browsers can show spelling suggestions through their normal context menu. When a word is underlined, right-click or Ctrl-click it to choose a suggested correction. Browser spell checking does not usually open a separate application popup, and the exact suggestion menu is controlled by the user’s browser and operating system dictionary settings. + ### Regression coverage expected The module should keep tests around: diff --git a/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php b/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php index df64c0aa..326649bc 100644 --- a/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php +++ b/Modules/Helpdesk/Resources/views/livewire/ticket-create.blade.php @@ -224,67 +224,33 @@ Details * -
-
- +
+
+
+

Spellcheck writing area

+

+ Misspelled words are underlined by the browser. Right-click or Ctrl-click an underlined word to choose a suggestion. +

+
- - - - - - - - - - - - - - - - - + - Spellcheck on + Suggestions available
-
{!! $body ?? '' !!}
+

- - Browser spellcheck is enabled for Details. Misspelled words are underlined while you type. + + Use right-click or Ctrl-click on a red-underlined word to see browser spelling suggestions.

@error('body') @@ -355,31 +321,12 @@
-