Skip to content

Load UI list entries asynchronously during bulk authorisation requests. #71499

Description

@stephen-bracken

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requestsneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions