pierrejeambrun commented on code in PR #57053:
URL: https://github.com/apache/airflow/pull/57053#discussion_r2469624396


##########
airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx:
##########
@@ -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 || original.task_id} 
/>

Review Comment:
   Nit:
   
   Task display name can't be None or undefined, we probably should just show 
this. ("empty string will default to `task_id` in your case but I don't think 
it's important.)
   
   Also this is more consistent with task instances and HITL tables.
   ```suggestion
             <TruncatedText text={original.task_display_name} />
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to