Skip to content

#358094: Move 'Published to' and author name in package registry

What does this MR do and why?

This MR cleans up the Group Package Registry page based on the provided design. Project, Author and Date information have been moved from the left side of the row to the right side to reduce the amount of information gathered together under the package name. The updated format reads Published to <Project> by <Author>, <Date>. This MR fixes two issues, issue-358094 and issue-358091.

Screenshots

User Preference Before After
Group registry with user preference set to absolute time before-group-absolute group-absolute
Group registry with user preference set to relative time before-group-relative group-relative
Individual project registry with user preference set to absolute time before-project-absolute project-absolute
Individual project registry with user preference set to relative time before-project-relative project-relative

How to set up and validate locally

In order to validate this locally you need to have the following pre-requisites:

  1. The user should be a part of the group. The group can also have multiple sub-groups.
  2. The user should have one or more projects inside the group with read/write permission to package registry.
  3. The project should have CI enabled for the project and publish at least one package to the registry using CI.

After the pre-requisites are setup on the local Gitlab instance follow the steps to validate the changes:

  1. Visit the main group (i.e. the top level group in the hierarchy) (E.g.: http://127.0.0.1:3000/<main-group-name>)
  2. Use the left navigation to visit Packages and registries > Package Registry (E.g.: http://127.0.0.1:3000/groups/<main-group-name>/-/packages)
  3. You should see a list of packages uploaded to the registry with the updated UI.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #358094 (closed) and #358091 (closed)

Edited by Pedro Moreira da Silva

Merge request reports