DevOps Adoption should not only fetch the first 200 groups

Summary

Currently, the DevOps Adoption feature only fetches the first 200 groups when loading the page. This results in only a subset of groups being displayed in the Add/Remove groups modal when an instance has more than 200 groups.

Steps to reproduce

  • Browse to the DevOps Adoption feature, instance or group level (instance level on staging works well as there are well over 200 groups).
  • Open the Add/Remove groups modal.
  • Inspect the groups present in the modal.

What is the expected correct behavior?

We likely want to show all groups, but there are performance concerns around this.

Proposal

  • Display the adoption table(s) as soon as the adoption data loads
  • Load all groups in the search modal
  • Display a loading in the modal while the modal data is loading
Edited by Martin Wortschack