WIP: Allow adjusting the number of projects displayed per page for groups
Allow adjusting the number of projects displayed per page for groups
When displaying a group page like https://gitlab.com/gitlab-org you can currently only see 20 projects per page. It would be very helpful for us, as we also have a group with many projects, to view them (or at least substantial parts of them) on one page. In other words it would be helpful to be able to select how many projects should be shown per page. That is what this merge request does.
It adds a dropdown menu to a group's project listing page allowing you to select up to 100 projects per page. This uses a "new" per_page parameter (like the one already available through the GitLab API).
This MR is currently WIP since I would like some general feedback whether this is feasible and maybe some help at which documentation or test changes are necessary here.
Similar changes might be done to other pages (see e.g. #27970), but one step at a time...
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation created/updated or follow-up review issue created -
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides -- not applicable (no db related changes)
- [-] Separation of EE specific content -- not applicable
Performance and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
- [-] Label as security and @ mention
@gitlab-com/gl-security/appsec
- [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
- [-] Security reports checked/validated by a reviewer from the AppSec team