This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 470eb03a19d Fix the misalignment of gantt view progress bars (#55061) 
(#55291)
470eb03a19d is described below

commit 470eb03a19de6e5715556ae392aad18386509235
Author: Yiming Peng <[email protected]>
AuthorDate: Thu Sep 11 03:52:13 2025 +1200

    Fix the misalignment of gantt view progress bars (#55061) (#55291)
    
    * Add label population from current running tasks to fix gantt view 
misalignment
    
    * Improve the clarity based on the review comments
---
 airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx 
b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
index 004272fa4e6..f25db508cce 100644
--- a/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
+++ b/airflow-core/src/airflow/ui/src/layouts/Details/Gantt/Gantt.tsx
@@ -190,9 +190,9 @@ export const Gantt = ({ limit }: Props) => {
           minBarLength: MIN_BAR_WIDTH,
         },
       ],
-      labels: [],
+      labels: flatNodes.map((node) => node.id),
     }),
-    [data],
+    [data, flatNodes],
   );
 
   const fixedHeight = flatNodes.length * CHART_ROW_HEIGHT + CHART_PADDING;

Reply via email to