Show dependency location count if `occurrenceCount` field is present
Compare changes
Related #467085 (closed)
Show dependency location count if occurrenceCount
field is present, even it's it only 1 location, instead of the path.
We're doing this because (see related issue)
It's not possible to get both the project / location path and the counts in a performant manner, so we've decided to always show the counts even if there is only 1.
This follows Always show project count for group dependency ... (!156200 - merged) • Lorenz van Herwaarden • 17.2 which made a similar change for the project column.
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 are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
http://gdk.test:3000/groups/<your-group-name>/-/dependencies