From 511df52c3cd4f79a47f4823f63bdb839f664af9e Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Wed, 7 Jan 2026 12:09:25 +0100 Subject: [PATCH] Enhance MessagesDialog component to support HTML content and improve parameter extraction - Updated notification description rendering to allow HTML content using v-html directive. - Refactored formatBody method to better handle JSON formatted notifications and extract parameters from nested structures. - Introduced new method for extracting parameters from value objects, improving compatibility with various notification types. - Enhanced description formatting to include details from effects, providing richer user feedback in notifications. --- .../components/falukant/MessagesDialog.vue | 246 ++++++++++++++---- 1 file changed, 194 insertions(+), 52 deletions(-) diff --git a/frontend/src/components/falukant/MessagesDialog.vue b/frontend/src/components/falukant/MessagesDialog.vue index 8b1c00f..d5c64b0 100644 --- a/frontend/src/components/falukant/MessagesDialog.vue +++ b/frontend/src/components/falukant/MessagesDialog.vue @@ -16,7 +16,7 @@
  • {{ formatBody(n).title }}
    -
    {{ formatBody(n).description || formatBody(n) }}
    +