From 11e1369f2fdba6fee716fef34e6c749fa3a924d8 Mon Sep 17 00:00:00 2001 From: indigo Date: Tue, 21 Jul 2026 03:34:19 +0800 Subject: [PATCH] Add group-by toggle (Task Type / Shot) to the Schedule Gantt chart Generalizes the previous task-type-only grouping into rowGroups, keyed by either task_type or the shot/asset name depending on a new toolbar toggle. Each row's label shows whichever dimension isn't already the group header, so switching modes stays readable instead of showing redundant text. Collapse state resets on mode/project change to avoid stale group keys. Co-Authored-By: Claude Sonnet 5 --- .../src/components/schedule/ScheduleGantt.vue | 91 +++++++++++++------ 1 file changed, 65 insertions(+), 26 deletions(-) diff --git a/frontend/src/components/schedule/ScheduleGantt.vue b/frontend/src/components/schedule/ScheduleGantt.vue index 5b13e22..bc9a5f7 100644 --- a/frontend/src/components/schedule/ScheduleGantt.vue +++ b/frontend/src/components/schedule/ScheduleGantt.vue @@ -20,6 +20,19 @@ {{ hasCollapsedGroups ? 'Expand All' : 'Collapse All' }} +
+ +
+
-
+
- {{ formatTaskType(group.taskType) }} + {{ group.label }} ({{ group.tasks.length }})
-