Skip to content

Update license compliance widget extension summary text

- requested to merge 356347-license-widget-source-branch into master
  • Update text copy and possible states to have parity with legacy widget

Related to #356347 (closed)

Background

This issue gets us the same License compliance widget summary text as the original one. See: https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/vue_shared/license_compliance/store/getters.js#L91-117

Note: Text copy with approval status edge case will be handled in #356335 (closed) as a follow up.

Screenshots

Handling every edge case would require a lot of demo and test MRs, but the unit tests have been updated to reflect all the UI states.

Testing (happy to demo live, setting a project up can be a pain)

  • Set up a project with a license scanning job and detected licenses
  • Create a MR that introduces new licenses that have a license policy defined in the license management page
  • Make sure feature flag is on refactorLicenseComplianceExtension

Screen_Shot_2022-05-03_at_10.38.37_PM

Edited by -

Merge request reports

Loading