Skip to content

Group migration: User-selectable page size

Problem to solve

When using the GitLab Group Migration feature, and then selecting from a very long list of groups to import, it is impossible to see more than 20 items at the same time.

Further background

On this page, we expect to show anywhere from a few to a few hundred groups available for import. For large sets, we expect the users to use the filtering capability to narrow it down, but this will not always be possible. Sometimes, the users will not know exactly the name of the group(s) they want to import (or these groups may not have a common filter criterion). In that case, we expect the user to browse through all the available groups to select the ones they need.

For example, a user may have 200 groups to select from, and with our standard pagination, they will have to go through 10 pages with 20 rows to find the groups they are looking for. We need a way to compensate for this drawback of the current pagination.

Proposal

Implement the ability to allow the user to select the page size. The default should remain 20 items, as prescribed in the guidelines. The user should be able to change that to either 50 or 100 items. The maximum of 100 is enforced by our API.

The selected choice should be visible (e.g. bold). The choice should be remembered (persisted) for the user.


→ Group migration: User-selectable page size - Layout specs (Figma file)

When the total number of items is below 1000
Import_-_Under_1000_groups
When the total number of items is above 1000 or unable to be determined due to the large quantities
Import_-_1000+_groups
Page count Dropdown
Display_page_numbers Import_-_Dropdown

Documentation

Following documentation should be updated with the visuals changed added in this issue:

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖