You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ti...@apache.org on 2025/03/14 14:31:25 UTC
(airflow) branch asset-event-extra created (now 5fb613a9645)
This is an automated email from the ASF dual-hosted git repository.
tirkarthi pushed a change to branch asset-event-extra
in repository https://gitbox.apache.org/repos/asf/airflow.git
at 5fb613a9645 Add support to show extra.
This branch includes the following new commits:
new 5fb613a9645 Add support to show extra.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow) 01/01: Add support to show extra.
Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tirkarthi pushed a commit to branch asset-event-extra
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 5fb613a9645bd1073a4fe8d2430de90802eb4ba5
Author: Karthikeyan Singaravelan <ti...@gmail.com>
AuthorDate: Fri Mar 14 19:44:06 2025 +0530
Add support to show extra.
---
airflow/ui/src/components/Assets/AssetEvent.tsx | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/airflow/ui/src/components/Assets/AssetEvent.tsx b/airflow/ui/src/components/Assets/AssetEvent.tsx
index fc134169802..faa6cdbd887 100644
--- a/airflow/ui/src/components/Assets/AssetEvent.tsx
+++ b/airflow/ui/src/components/Assets/AssetEvent.tsx
@@ -22,6 +22,7 @@ import { MdOutlineAccountTree } from "react-icons/md";
import { Link } from "react-router-dom";
import type { AssetEventResponse } from "openapi/requests/types.gen";
+import RenderedJsonField from "src/components/RenderedJsonField";
import Time from "src/components/Time";
import { Tooltip } from "src/components/ui";
@@ -86,6 +87,11 @@ export const AssetEvent = ({
"~"
)}
</HStack>
+ {event.extra && Object.keys(event.extra).length > 0 ? (
+ <HStack>
+ <Text> Extra: </Text> <RenderedJsonField content={event.extra} jsonProps={{ collapsed: true }} />
+ </HStack>
+ ) : undefined}
</Box>
);
};