Skip to content

Prevent fetching commits for files that are not on the current page

What does this MR do?

This prevents (batch) fetching commits for files that are not on the page that the user is currently viewing.

This is part of a bigger effort to improve the performance of the repository file tree if there are many files in a folder.

More performance improvements to this page to follow.

Screenshots

Before (notice requests doesn't stop at offset 1000 even though the user is only viewing the 1st 1000 files/1st page)

Before__max_offset_

After (notice requests stop at offset 1000)

After__max_offset_

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #214685 (closed)

Edited by Jacques Erasmus

Merge request reports