stable

Clone or download

Read-only

Fix display sprints badges

This is part of request #14877 Fix project milestones widget UI In this patch there are little changes to the display of sprints badges. Depending on whether there are closed sprints, and whether there are 1 or more open sprints. How to test: - Have a release - If you haven't sprints => No sprints badges (at the left of capacity badges) - If you have only closed sprints => A badge with the number of closed sprints is displayed - If you have only open sprints (more than one) => You have a sprint badge with the number of closed sprints => You can open or closed this badge to have more informations on sprints (label and some links) - If you have only one open sprint => The sprint badge is displayed with its label and some links at its right => You can't open/close this badge Change-Id: I1a2fc354dc9edabc7d319f0a3b64f017b4353ca4

Modified Files

Name
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.test.ts +86 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.vue +38 −8 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/helpers/milestones-sprints-helper.test.ts +49 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/helpers/milestones-sprints-helper.ts +12 −0 Go to diff View file
M plugins/projectmilestones/themes/BurningParrot/_release-toggle-badges-sprints.scss +7 −7 Go to diff View file