Draft: Bitbucket importer pagination fix

What does this MR do and why?

This MR updates Bitbucket Importer status page and introduces infinite scroll, similar to github importer. This is needed because we have users who have extreme amounts of repositories (multiple thousands) and status page times out, which makes it impossible to migrate the projects.

It uses cursor based pagination, where we:

  1. Fetch the list of repositories, ordered by created_at
  2. Check after value in the response, which should include the next page of projects
  3. As we scroll down, next page should be populated

References

#582706

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports

Loading