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

pierrejeambrun pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new f72f2a6aac0 [v3-1-test] Feat: Add XCom 'Timestamp' and unify task 
columns (#57053) (#57447)
f72f2a6aac0 is described below

commit f72f2a6aac098e4eaed40b6ba113f1e62cf186e1
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue Oct 28 18:19:26 2025 +0100

    [v3-1-test] Feat: Add XCom 'Timestamp' and unify task columns (#57053) 
(#57447)
    
    * feat: Add XCom 'Timestamp' and unify task columns
    
    * fix: show task_display_name in XCom table with fallback dash
    (cherry picked from commit 739681bb0357d0ac17d569c5a92e1f421a8fad74)
    
    Co-authored-by: Anshu Singh <[email protected]>
---
 airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx 
b/airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx
index 0e669884376..9a1fc1a22a1 100644
--- a/airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx
@@ -27,6 +27,7 @@ import { DataTable } from "src/components/DataTable";
 import { useTableURLState } from "src/components/DataTable/useTableUrlState";
 import { ErrorAlert } from "src/components/ErrorAlert";
 import { ExpandCollapseButtons } from "src/components/ExpandCollapseButtons";
+import Time from "src/components/Time";
 import { TruncatedText } from "src/components/TruncatedText";
 import { SearchParamsKeys, type SearchParamsKeysType } from 
"src/constants/searchParams";
 import { getTaskInstanceLink } from "src/utils/links";
@@ -71,7 +72,7 @@ const columns = (translate: (key: string) => string, open: 
boolean): Array<Colum
     header: translate("common:runId"),
   },
   {
-    accessorKey: "task_id",
+    accessorKey: "task_display_name",
     cell: ({ row: { original } }: { row: { original: XComResponse } }) => (
       <Link asChild color="fg.info" fontWeight="bold">
         <RouterLink
@@ -82,18 +83,24 @@ const columns = (translate: (key: string) => string, open: 
boolean): Array<Colum
             taskId: original.task_id,
           })}
         >
-          <TruncatedText text={original.task_id} />
+          <TruncatedText text={original.task_display_name} />
         </RouterLink>
       </Link>
     ),
     enableSorting: false,
-    header: translate("common:taskId"),
+    header: translate("common:task_one"),
   },
   {
     accessorKey: "map_index",
     enableSorting: false,
     header: translate("common:mapIndex"),
   },
+  {
+    accessorKey: "timestamp",
+    cell: ({ row: { original } }) => <Time datetime={original.timestamp} />,
+    enableSorting: false,
+    header: translate("dashboard:timestamp"),
+  },
   {
     cell: ({ row: { original } }) => (
       <XComEntry

Reply via email to