stable

Clone or download

Read-only

Convert `ReleaseBadges` into composition API

part of request #33654 move project milestone widget in vue3 No functional changes Badges (`Capacity`|`Intial effort` ...) are properly displayed Note: ReleaseOthersBadges throws errors in tests (due to gettext), I'll convert it later Change-Id: I93d4c4b54779b1afed14b6dfcba56c9405445ba3

Modified Files

Name
M plugins/projectmilestones/scripts/projectmilestones/package.json +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/pnpm-lock.yaml +5 −9 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesAllSprints.test.ts +27 −48 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesAllSprints.vue +12 −20 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesClosedSprints.test.ts +19 −28 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesClosedSprints.vue +35 −37 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayer.test.ts +13 −41 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayer.vue +11 −26 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOnlyClosedSprints.test.ts +11 −18 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOnlyClosedSprints.vue +4 −11 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.test.ts +239 −272 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.vue +44 −52 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesOpenSprint.test.ts +55 −37 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesOpenSprint.vue +17 −25 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/helpers/local-vue-for-test.ts +2 −0 Go to diff View file