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

   Use `tasks` endpoint to fill the card view first. Get dag's recent dagruns 
and get the last dagrun id and pass it to taskinstances endpoint to get the 
last run and the corresponding task instance state. 
   
   Comments for reviewers and self :
   
   1. Disable pagination since tasks and task instances doesn't support limit 
or pagination.
   2. Colors are slightly off with `stateColor` and the theme which will be 
fixed overall. Please let me know if I am missing some other configuration.
   3. Do the timestamp itself need to be of same color as timestamp as per the 
initial designs in 
https://github.com/apache/airflow/issues/42371#issuecomment-2426863604
   4. The historical view of the task instances is not implemented yet as per 
design which is the last column in the card view.
   5. Do we need to display a tooltip for the last run. Perhaps the start time, 
end time and try number of the task instance.
   
   
   This PR probably needs a rebase after 
https://github.com/apache/airflow/pull/44269 is merged.
   
   
![image](https://github.com/user-attachments/assets/016d911d-fa17-403a-a364-d5ba37e66e0f)
   
   
![image](https://github.com/user-attachments/assets/d042ac0f-0f0c-4e7a-88fa-d25fe88fe748)
   


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