From b5d4ecab272c9dfdce58091a8d14485ea5dd52b1 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sun, 27 Jul 2025 14:34:29 +0200 Subject: [PATCH] Enhance ICS export to include tablo name in event description --- ui/src/utils/helpers.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/utils/helpers.ts b/ui/src/utils/helpers.ts index 50f7a15..18e4f52 100644 --- a/ui/src/utils/helpers.ts +++ b/ui/src/utils/helpers.ts @@ -132,7 +132,9 @@ export const generateICSFromEvents = ( `DTSTART:${startDateTime}`, `DTEND:${endDateTime}`, `SUMMARY:${escapeICSText(event.title)}`, - `DESCRIPTION:${escapeICSText(event.description || "")}`, + `DESCRIPTION:${escapeICSText( + `Tablo: ${event.tablo_name}\n${event.description || ""}` + )}`, event.tablo_name ? `CATEGORIES:${escapeICSText(event.tablo_name)}` : "", `CREATED:${new Date().toISOString().replace(/[-:]/g, "").split(".")[0]}Z`, `LAST-MODIFIED:${