This is an automated email from the ASF dual-hosted git repository.
weilee 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 c5aeb287e1f fix(asset-event): add missing partition key to asset event
page (#61437)
c5aeb287e1f is described below
commit c5aeb287e1ffa7dfa0791ea0961d715a9e307c8a
Author: Wei Lee <[email protected]>
AuthorDate: Wed Feb 4 22:10:21 2026 +0800
fix(asset-event): add missing partition key to asset event page (#61437)
---
airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx
b/airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx
index af7a07a76b4..4a63d33f952 100644
--- a/airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx
+++ b/airflow-core/src/airflow/ui/src/components/Assets/AssetEvent.tsx
@@ -36,6 +36,7 @@ export const AssetEvent = ({
readonly event: AssetEventResponse;
}) => {
const { t: translate } = useTranslation("dashboard");
+ const { t: rootTranslate } = useTranslation();
let source = "";
const { from_rest_api: fromRestAPI, from_trigger: fromTrigger, ...extra } =
event.extra ?? {};
@@ -94,6 +95,13 @@ export const AssetEvent = ({
<HStack>
<TriggeredRuns dagRuns={event.created_dagruns} />
</HStack>
+ {event.partition_key === undefined ? undefined : (
+ <HStack>
+ <Text>
+ {rootTranslate("dagRun.partitionKey")}: {event.partition_key}
+ </Text>
+ </HStack>
+ )}
{Object.keys(extra).length >= 1 ? (
<RenderedJsonField content={extra} jsonProps={{ collapsed: true }} />
) : undefined}