stephen-bracken opened a new issue, #71499:
URL: https://github.com/apache/airflow/issues/71499

   ### Description
   
   When a user goes to the `/dags` screen, they are first greeted by the UI 
skeleton, with some loading indicators and no dags. This is because the FastAPI 
server is requesting authorisation for each dag object individually. For 
deployments where there are lots of dags this takes a long time, so users can 
be stuck waiting for the dags screen to be populated for long periods of time 
(1 minute+ in some cases).
   
   ### Use case/motivation
   
   In order to make the `/dags` and other aggregate list view screens more 
usable, asynchronously load each dag onto the screen in a list while the 
authorisation is confirming access for the remaining dags. This allows users to 
get some information about the system state before the entire UI has loaded.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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