Skip to content

fix: fetch all pages from API

Tomas Vik (OOO back on 2024-09-23) requested to merge 506-api-pagination into main

When browsing a remote repository, we would show only 20 files in any given directory (see #506 (closed)), this was caused by fetching only the first page from the API. This MR introduces a new method fetchAllPages and uses it to fetch the list of files in a folder.

It also uses this method for fetching issue and MR label events (which were up until now limited to 100 events).

Related to #506 (closed)

Edited by Tomas Vik (OOO back on 2024-09-23)

Merge request reports