From cb16167f72372819412864ba4edfda923a070e35 Mon Sep 17 00:00:00 2001 From: louispaulb Date: Tue, 7 Jul 2026 07:09:25 -0400 Subject: [PATCH] =?UTF-8?q?ticket=20panel:=20d=C3=A9codage=20entit=C3=A9s?= =?UTF-8?q?=20HTML=20+=20fil=20unifi=C3=A9=20+=20lien=20client=20cherchabl?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - richHtml() (sanitize.js) : décode entités osTicket (é, ', double-échappées ') puis DOMPurify → plus de « codes html » dans les détails. - IssueDetail : fusionne Échanges (Communication) + Fil (Comment) en UN fil chronologique en bulles (notes internes en ambre) ; aère la mise en page. - Bandeau Client cherchable par nom, association/dissociation 1 clic (comme une conversation) — le ticket portait déjà .customer mais aucun champ pour le voir/lier. Résout le cas voicemail. Co-Authored-By: Claude Opus 4.8 --- .../shared/detail-sections/IssueDetail.vue | 156 +++++++++++++++--- apps/ops/src/utils/sanitize.js | 15 ++ 2 files changed, 147 insertions(+), 24 deletions(-) diff --git a/apps/ops/src/components/shared/detail-sections/IssueDetail.vue b/apps/ops/src/components/shared/detail-sections/IssueDetail.vue index 845808b..26fb457 100644 --- a/apps/ops/src/components/shared/detail-sections/IssueDetail.vue +++ b/apps/ops/src/components/shared/detail-sections/IssueDetail.vue @@ -12,6 +12,33 @@ category="incident" applies-to="Issue" trigger-event="on_issue_opened" /> + +
+ + + + + + +
+
Statut @@ -185,19 +212,19 @@
Resolution
- +
-
-
Echanges ({{ comms.length }})
-
-
-
-
{{ comm.sender || comm.owner }}
- -
-
- {{ formatDate(comm.creation) }} + +
+
Conversation ({{ thread.length }})
+
+
+
+ {{ initials(m.who) }} + {{ m.who }} + {{ formatDateTime(m.when) }}
+
@@ -209,18 +236,7 @@
-
-
Fil de discussion ({{ comments.length }})
-
-
- - {{ c.comment_by || 'Systeme' }} - {{ formatDateTime(c.creation) }} -
-
-
-
-
+
Aucun contenu pour ce ticket
@@ -265,7 +281,7 @@