Skip to content

Pass license count via rails template to pipeline tabs app

- requested to merge 387611-fix-license-scan-count into master

What does this MR do and why?

Fix UI bug from #387611 (closed)

Describe in detail what your merge request does and why.

  • It passes the count of licenses ahead of time from the rails view.
  • Full list of licenses is lazy loaded when the tab is clicked

Screenshots or screen recordings

Before After
Screen_Shot_2023-02-10_at_7.52.45_PM Screen_Shot_2023-02-10_at_7.50.54_PM

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  • Clone the https://gitlab.com/gitlab-examples/security/security-reports project locally
  • Manually trigger the pipeline to run for Master. This can be done by going to the CI/CD -> Pipelines tab on the left nav and then clicking the Run Pipeline button.
  • Go to CI/CD -> Pipelines -> Select a single pipeline -> Verify page loads with license count loaded before clicking the tab.

Numbered steps to set up and validate the change are strongly suggested.

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

Edited by -

Merge request reports