woodpecker-ci / woodpecker

Woodpecker is a simple, yet powerful CI/CD engine with great extensibility.
https://woodpecker-ci.org
Apache License 2.0
4.24k stars 368 forks source link

Show loading animation while getting repos after login #3481

Open lukashass opened 7 months ago

lukashass commented 7 months ago

Clear and concise description of the problem

The login is quite slow in some cases: #2502 and also for Gitlab after we added more requests in #3308

While Woodpecker is getting all the repos, the redirect site of the forge is shown which looks like we are stuck:

image

Suggested solution

The web UI should return a loading page immediately, maybe even with a progress indicator.

Alternative

No response

Additional context

No response

Validations

anbraten commented 7 months ago

I would actually suggest to either do the update in the background in a go function or somehow decouple it from login in general.