Skip to content

Stop showing package size on package registry details page

Rahul Chanila requested to merge 411820-remove-package-size into master

What does this MR do and why?

Context

We currently request the 100 most recent package files.

The total size of the package displayed on package detail page is calculated on the frontend by adding the size value of each package file.

So we decided to remove it until we find a fix to show the correct size.

What this MR does

  • Stop showing package size on package registry details page
  • Remove packageFiles query fragment from package details graphql query

Screenshots or screen recordings

Before After
Screenshot_2023-06-02_at_9.36.48_pm Screenshot_2023-06-02_at_9.35.58_pm

How to set up and validate locally

  • Visit package registry detail page via groups & projects package list page.
  • Confirm that package size is not rendered.

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 #411820 (closed)

Edited by Rahul Chanila

Merge request reports

Loading