Refactors package errors count component

What does this MR do and why?

In preparation to add separate GraphQL request to get error packages within the PackageErrorsCount component, this MR,

  1. Imports package error component directly from pages/list.vue.
  2. Import DeleteModal component within PackageErrorsCount so its not reliant on PackagesList component.
  3. Adds tracking since this was handled by PackagesList component.

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

The complete implementation can be viewed in Draft: Show accurate number of errored packages... (!169735 - closed)

The diff is quite large to review so breaking this into multiple MRs.

This is part 2 of 3 MRs required to complete the same without too much burden for the reviewers, you can see part 1 in Extract package errors alert to separate component (!169862 - merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Same as !151550 (merged)

How to set up and validate locally

Same steps can be followed

Related to #460583 (closed)

Edited by Rahul Chanila

Merge request reports

Loading