Allow setting of custom pagination sizes

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

This issue comes from a discussion in !17852 (closed).

It would be useful for users to use custom page sizes for certain pages, e.g., the group page to change the size of projects visible on any one page.

This could be a dropdown menu on the page but can be complicated for more complex views like the issue and merge request lists. Perhaps this could be a user-configurable setting across GitLab (need to consider performance implications for more complicated lists), or perhaps we need a drawer for lists for miscellaneous options such as these.

Most APIs have a per_page parameter that could be used for this.

Edited by 🤖 GitLab Bot 🤖