Describe the bug
When using the private mirrors UI to view the list of forks for an organization that contains a large number of forks the page can take a long time to initially load despite the use of pagination.
To Reproduce
- Open the private-mirrors UI
- Open the browser developer console to ensure that network logs are being captured
- Navigate to an organization that contains a lot of mirrors (in testing 150 repositories cause the load to take about 30 seconds)
- Look through the network logs and add up the time that it takes for all of the "getReposInOrgGQL" queries to run
Expected behavior
The private-mirrors UI should effectively paginate and lazy load the fork list to avoid making the user wait for all fork details to load before displaying any of them. The "getReposInOrgGQL" query and useForksData function should also be investigated to determine if other optimizations can and should be made.
Screenshots
No response
Additional context
No response
Describe the bug
When using the private mirrors UI to view the list of forks for an organization that contains a large number of forks the page can take a long time to initially load despite the use of pagination.
To Reproduce
Expected behavior
The private-mirrors UI should effectively paginate and lazy load the fork list to avoid making the user wait for all fork details to load before displaying any of them. The "getReposInOrgGQL" query and useForksData function should also be investigated to determine if other optimizations can and should be made.
Screenshots
No response
Additional context
No response