From ed5dfa1ad4cd49c7570e6517c76cec915ae00740 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 9 Feb 2026 15:27:56 +0100 Subject: [PATCH] fix(gantt): render done tasks with strikethrough and reduced opacity The gantt chart rebuild lost the visual distinction for completed tasks. Restore strikethrough on task labels and add reduced opacity on bars for done tasks. Regression introduced in the gantt chart rebuild in 5fc255cb3. Resolves #2211 --- frontend/src/components/gantt/GanttRowBars.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/gantt/GanttRowBars.vue b/frontend/src/components/gantt/GanttRowBars.vue index 9bc7e9111..9438e9ec6 100644 --- a/frontend/src/components/gantt/GanttRowBars.vue +++ b/frontend/src/components/gantt/GanttRowBars.vue @@ -24,6 +24,7 @@ :height="32" :rx="4" :fill="getBarFill(bar)" + :opacity="bar.meta?.isDone ? 0.5 : 1" :stroke="getBarStroke(bar)" :stroke-width="getBarStrokeWidth(bar)" :stroke-dasharray="!bar.meta?.hasActualDates ? '5,5' : 'none'" @@ -88,6 +89,7 @@ :y="24" class="gantt-bar-text" :fill="getBarTextColor(bar)" + :text-decoration="bar.meta?.isDone ? 'line-through' : 'none'" :clip-path="`url(#clip-${bar.id})`" aria-hidden="true" >