pierrejeambrun commented on code in PR #55112:
URL: https://github.com/apache/airflow/pull/55112#discussion_r2318519688


##########
airflow-core/src/airflow/ui/src/pages/Run/Header.tsx:
##########
@@ -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)}`}

Review Comment:
   We should probably use the constant
   ```suggestion
                           
to={`/dag_runs?${TRIGGERING_USER_NAME_PATTERN}=${encodeURIComponent(dagRun.triggering_user_name)}`}
   ```
   
   I see that we also don't do it in other redirect link in the application. 
That could be a nice follow up @dheerajturaga . (go over all `to=\{...` link 
and replace query params hard coded string by their CONST value from 
`SearchParamsKeys`)



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