This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun 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 6ded2faa758 Add hyperlink to triggering user name in DAG run header
(#55112)
6ded2faa758 is described below
commit 6ded2faa75862d12a7c9b717d082456a3549a8e3
Author: Dheeraj Turaga <[email protected]>
AuthorDate: Wed Sep 3 05:23:51 2025 -0500
Add hyperlink to triggering user name in DAG run header (#55112)
Links to dag_runs page with triggering_user_name_pattern filter to show all
runs by that user.
---
airflow-core/src/airflow/ui/src/pages/Run/Header.tsx | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/airflow-core/src/airflow/ui/src/pages/Run/Header.tsx
b/airflow-core/src/airflow/ui/src/pages/Run/Header.tsx
index 3f291f64219..83199ca775f 100644
--- a/airflow-core/src/airflow/ui/src/pages/Run/Header.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/Run/Header.tsx
@@ -16,10 +16,11 @@
* specific language governing permissions and limitations
* under the License.
*/
-import { HStack, Text, Box } from "@chakra-ui/react";
+import { HStack, Text, Box, Link } from "@chakra-ui/react";
import { useCallback, useState, useRef } from "react";
import { useTranslation } from "react-i18next";
import { FiBarChart } from "react-icons/fi";
+import { Link as RouterLink } from "react-router-dom";
import type { DAGRunResponse } from "openapi/requests/types.gen";
import { ClearRunButton } from "src/components/Clear";
@@ -119,7 +120,15 @@ export const Header = ({
: [
{
label: translate("dagRun.triggeringUser"),
- value: <Text>{dagRun.triggering_user_name}</Text>,
+ value: (
+ <Link asChild color="fg.info">
+ <RouterLink
+
to={`/dag_runs?triggering_user_name_pattern=${encodeURIComponent(dagRun.triggering_user_name)}`}
+ >
+ <Text>{dagRun.triggering_user_name}</Text>
+ </RouterLink>
+ </Link>
+ ),
},
]),
{