Skip to content

Use Prev/Next pagination for exploring projects

yorickpeterse-staging requested to merge pagination-projects-explore into master

What does this MR do?

This changes the pagination system of the "Explore" page so we don't need to perform expensive COUNT queries.

@tauriedavis @sarrahvesselov This is based on my findings discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/27390#note_37258599 and the comments following it. Since this affects UI/UX I would greatly appreciate any comments. The style of this pagination is the same as the normal one, except we don't display any page numbers (see screenshot below). On the first/last page the prev/next buttons simply aren't displayed.

Screenshots (if relevant)

Screenshot_from_2017-08-10_15-03-31

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/27390

Edited by yorickpeterse-staging

Merge request reports

Loading