[License Compliance Widget Extension] - Frontend - Implement uncollapsable state by consuming MR widget extension API
Implement for License Compliance MR widget extension the ability to show an uncollapsible state
Current Implementation
Desired
Same design without the chevron when we have no new licenses.
Implementation Plan
Based off the implementation in !83205 (merged)
Implement a function like:
- In: ee/app/assets/javascripts/vue_merge_request_widget/extensions/metrics/index.js
shouldCollapse(){
return this.newLicenses() > 0
}
- Update unit tests
Edited by -