Show the full list of licenses in the MR widget if no report is available in the target branch
Problem to solve
If you have license management in your merge request, but you don't have any report on master
, the MR widget doesn't show any entry. We should be able to provide some feedback in this case too.
Further details
Users can benefit from license management even if there is no report available on the target branch.
Proposal
If there is no report for the target branch (master
), show the full list of licenses shown in the report.
The summary text should change to reflect that this is only for the source branch, and not a comparison anymore.
License management detected no licenses for the source branch only
License management detected 1 license for the source branch only
License management detected [X] licenses for the source branch only
What does success look like, and how can we measure that?
If there is no report in master
, users can see a list of all the licenses at the MR level.
Edited by Jeethu Karthik