bbovenzi commented on code in PR #55764:
URL: https://github.com/apache/airflow/pull/55764#discussion_r2359887254


##########
airflow-core/src/airflow/ui/src/pages/Dag/Code/Code.tsx:
##########
@@ -153,6 +153,11 @@ export const Code = () => {
       {/* We want to show an empty state on 404 instead of an error */}
       <ErrorAlert error={error ?? (codeError?.status === 404 ? undefined : 
codeError)} />
       <ProgressBar size="xs" visibility={isLoading || isCodeLoading ? 
"visible" : "hidden"} />
+      {typeof code?.file_display_name === "string" && code.file_display_name 
!== "" && (
+        <Heading as="h4" fontSize="14px" mb={2} size="md">
+          {translate("code.sourceFile")} {code.file_display_name}

Review Comment:
   I feel like we can just say the file name here. No reason for `sourceFile`



-- 
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