tirkarthi opened a new pull request, #46968:
URL: https://github.com/apache/airflow/pull/46968

   On visiting the dashboard home page user could see many failed task 
instances in the last 24 hours. Quickly identifying the task instances involves 
user going to the dags page, task instances tab and then selecting failed state 
to sort by start_date/end_date to get recent failures. With this PR by clicking 
on the state icon in metrics section the respective list page in this case task 
instance is rendered and the state is filtered by "failed" and 
start_date/end_date passed as query parameters to get the task instances failed 
in last 24 hours.
   
   It seems `airflow/ui/src/pages/TaskInstances.tsx` has become longer than 250 
lines. I tried refactoring by moving some query parameter fields to constants 
but it's still at 253. I have disabled the eslint rule for now to this page. 
Any suggestions welcome.


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