Sort packages to improve navigation and discoverability
Problem to solve
As part of our overall vision for packaging at GitLab, we want to provide a single interface for managing dependencies, registries, and package repositories. Currently, GitLab displays a list of packages and some basic meta data (project, version, type and created date). However we do not give the user the ability to sort their list based on that meta data.
This is a problem for users at the project level, that have many versions of a given package and need the ability to sort to better discover what's available.
At the group level, the problem is amplified because the list may include both Maven and NPM packages as well packages across many projects.
Intended users
Proposal
Introduce sorting for the project and group level package registry lists. By default sort by created date, with the most recently created packages at the top of the list. However, users will be able to sort by any available column in the list.
User stories
I as a developer, when I am viewing the Packages list at either the project or group level, need the ability to sort by each column, so that I can find my packages easier and with less risk of error.
- Default sort by created date
- Other columns should default sort to alphabetical or reverse alphabetical if clicked twice
I as a developer, when I return back to the packages list, need GitLab to remember my previous sorting preferences, so that I don't have to resort the list.
Further details
Group List
- Name: If the user sorts by this column, default to alphabetical (A-Z) sort
- Project: If the user sorts by this column, default to alphabetical (A-Z) sort
- Version: If the user sorts by this column, default to alphabetical (A-Z) sort
- Type: If the user sorts by this column, default to alphabetical (A-Z) sort
- Created: (Default sort)
Project List
- Name: If the user sorts by this column, default to alphabetical (A-Z) sort
- Version: If the user sorts by this column, default to alphabetical (A-Z) sort
- Type: If the user sorts by this column, default to alphabetical (A-Z) sort
- Created: (Default sort)
Permissions and Security
There are no permissions changes required for this issue. Reporters and above should be able to view packages to the groups and projects they have access to.
Action | Guest | Reporter | Developer | Maintainer | Owner |
---|---|---|---|---|---|
Pull from Maven repository or NPM registry or Conan Repository | x | x | x | x | |
Publish to Maven repository or NPM registry or Conan Repository | x | x | x |
Documentation
There are no documentation updates for this issue.
Testing
- Ensure there is no performance degradation introduced as part of this change.
What is the type of buyer?
This feature will be focused on Director and Executives, as it is a Premium/Silver and Ultimate/Gold feature. https://about.gitlab.com/handbook/ceo/pricing/#four-tiers
Links / references
Future Proposals
- Allow users to delete items from the packages list