guan404ming commented on PR #68657:
URL: https://github.com/apache/airflow/pull/68657#issuecomment-4767153639

   Makes sense. thanks for catching this, you're right that the count and the 
card link diverged.
   
   I went with the first option: I added a dedicated `dag_run_state` filter on 
the `/ui/dags` endpoint with "any active DagRun" semantics, separate from 
`last_dag_run_state` (which still matches the latest run only). The 
Running/Queued dashboard cards now link to dags?dag_run_state=running / queued, 
so the count and the click-through stay aligned in the backfill case. The 
Dags-list state toggle also routes Running/Queued through this any-run filter 
(Failed/Success keep latest-run semantics) and reflects whichever param is 
active, so landing from a card highlights the right button.
     
   Just pushed the change and feel free to provide any suggestion about the 
changes.


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