From 0325631d02835ecc9c673d97036ef2cb57bbb228 Mon Sep 17 00:00:00 2001 From: mboehmlaender Date: Wed, 5 Aug 2026 11:38:28 +0200 Subject: [PATCH] Improve analysis group headings --- frontend/src/views/AnalysisPage.tsx | 40 ++++++++++++++++++----------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/frontend/src/views/AnalysisPage.tsx b/frontend/src/views/AnalysisPage.tsx index f834d2e..1c2265b 100644 --- a/frontend/src/views/AnalysisPage.tsx +++ b/frontend/src/views/AnalysisPage.tsx @@ -856,16 +856,21 @@ export function AnalysisPage({ onNavigate }: AnalysisPageProps) { - {ticketSections.map((section) => ( + {ticketSections.map((section, sectionIndex) => ( {ticketViewSettings.groupBy !== "none" ? ( - - -
- {section.label} - {section.ticketCount} Ticket(s) - {formatMinutes(section.totalMinutes)} - {section.openCount > 0 ? {section.openCount} offen : bewertet} + 0 ? "border-t-[12px] border-t-background" : ""} border-b-2 border-border bg-muted/70 hover:bg-muted/70`}> + +
+
+ Gruppe + {section.label} +
+
+ {section.ticketCount} Ticket(s) + {formatMinutes(section.totalMinutes)} + {section.openCount > 0 ? {section.openCount} offen : bewertet} +
@@ -902,14 +907,19 @@ export function AnalysisPage({ onNavigate }: AnalysisPageProps) {
- {ticketSections.map((section) => ( -
+ {ticketSections.map((section, sectionIndex) => ( +
0 ? "pt-3" : ""}`}> {ticketViewSettings.groupBy !== "none" ? ( -
- {section.label} - {section.ticketCount} Ticket(s) - {formatMinutes(section.totalMinutes)} - {section.openCount > 0 ? {section.openCount} offen : bewertet} +
+
+ Gruppe + {section.label} +
+
+ {section.ticketCount} Ticket(s) + {formatMinutes(section.totalMinutes)} + {section.openCount > 0 ? {section.openCount} offen : bewertet} +
) : null} {section.tickets.map((ticket) => (