This is an automated email from the ASF dual-hosted git repository.
jscheffl 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 e64f5b39b04 Add conf column into Dag Runs page (#51270)
e64f5b39b04 is described below
commit e64f5b39b04e922203a3ef0c0c0f0502cc8fd3ed
Author: Valentyn <[email protected]>
AuthorDate: Mon Jun 2 22:21:11 2025 +0300
Add conf column into Dag Runs page (#51270)
Co-authored-by: Valentyn Druzhynin <[email protected]>
---
airflow-core/src/airflow/ui/src/i18n/locales/en/dags.json | 1 +
airflow-core/src/airflow/ui/src/pages/DagRuns.tsx | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/airflow-core/src/airflow/ui/src/i18n/locales/en/dags.json
b/airflow-core/src/airflow/ui/src/i18n/locales/en/dags.json
index bff8404514a..628cddbc56d 100644
--- a/airflow-core/src/airflow/ui/src/i18n/locales/en/dags.json
+++ b/airflow-core/src/airflow/ui/src/i18n/locales/en/dags.json
@@ -97,6 +97,7 @@
"allRunTypes": "All Run Types",
"allStates": "All States",
"columns": {
+ "conf": "Conf",
"dagId": "Dag ID",
"dagVersions": "Dag Versions",
"duration": "Duration",
diff --git a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
index 5873879a0dd..e304537e4fa 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
@@ -34,6 +34,7 @@ import { useTableURLState } from
"src/components/DataTable/useTableUrlState";
import { ErrorAlert } from "src/components/ErrorAlert";
import { LimitedItemsList } from "src/components/LimitedItemsList";
import { MarkRunAsButton } from "src/components/MarkAs";
+import RenderedJsonField from "src/components/RenderedJsonField";
import { RunTypeIcon } from "src/components/RunTypeIcon";
import { StateBadge } from "src/components/StateBadge";
import Time from "src/components/Time";
@@ -119,6 +120,18 @@ const runColumns = (translate: TFunction, dagId?: string):
Array<ColumnDef<DAGRu
enableSorting: false,
header: translate("dags:runs.columns.dagVersions"),
},
+ {
+ accessorKey: "conf",
+ cell: ({ row: { original } }) => {
+ if (original.conf) {
+ return <RenderedJsonField content={original.conf} jsonProps={{
collapsed: true }} />;
+ }
+
+ return undefined;
+ },
+ enableSorting: false,
+ header: translate("dags:runs.columns.conf"),
+ },
{
accessorKey: "actions",
cell: ({ row }) => (