Skip to content

Move and refactor package list shared components

What does this MR do and why?

This MR is part of the refactor of the package list to use Apollo/GraphQL .

In this MR we are moving and refactoring some package shared components that cannot be shared anymore because all the bindings are changed in the move to graphql mostly snake_case to camelCase bindings, but some properties' path are now different too.

This MR is a bit on the bigger side but we are copying and editing existing components.

Feature flag rollout issue: #341136 (closed)

Screenshots or screen recordings

No visual changes:

Screenshot_2021-10-06_at_13.54.17

How to set up and validate locally

  1. Apply this patch: enable_new_package_list.patch
  2. in rails console Feature.enable(:package_list_apollo)
  3. navigate to the package list

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

Edited by Nicolò Maria Mezzopera

Merge request reports