stable

Clone or download

Read-only

Convert projectmilestones to pinia

part of request #33654 move project milestone widget in vue3 No functional changes: Add the widget on project dashboard, past/current and next releases are still displayed Change-Id: If7e8a47c154ef9dbfa59f253831b12e24ce6881e

Modified Files

Name
M plugins/projectmilestones/scripts/projectmilestones/package.json +4 −5 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/pnpm-lock.yaml +54 −28 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/po/fr_FR.po +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/po/pt_BR.po +1 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/App.test.ts +67 −49 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/App.vue +20 −36 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/PastSection/PastSection.test.ts +17 −27 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/PastSection/PastSection.vue +10 −15 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/RoadmapEmptyStateSection.test.ts +16 −23 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/RoadmapEmptyStateSection.vue +6 −9 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/ProjectMilestonesEmpty/__snapshots__/RoadmapEmptyStateSection.test.ts.snap +3 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/RoadmapSection/RoadmapSection.test.ts +16 −24 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/RoadmapSection/RoadmapSection.vue +10 −12 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesAllSprints.test.ts +15 −20 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesAllSprints.vue +6 −4 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesClosedSprints.test.ts +16 −27 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesClosedSprints.vue +4 −4 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayer.test.ts +14 −19 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOnlyClosedSprints.test.ts +14 −19 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOnlyClosedSprints.vue +4 −4 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.test.ts +26 −49 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesDisplayerIfOpenSprints.vue +5 −5 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseBadgesOpenSprint.test.ts +6 −23 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseOthersBadges.test.ts +21 −30 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseBadges/ReleaseOthersBadges.vue +5 −7 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/Burndown.test.ts +4 −17 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/BurndownDisplayer.test.ts +24 −34 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/BurndownDisplayer.vue +5 −10 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/Burnup.test.ts +11 −16 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/Burnup.vue +4 −6 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/BurnupDisplayer.test.ts +23 −35 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/BurnupDisplayer.vue +6 −10 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/ChartDisplayer.test.ts +17 −23 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/ChartError.test.ts +9 −23 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/ReleaseButtonsDescription.test.ts +17 −33 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/ReleaseButtonsDescription.vue +5 −5 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/ReleaseDescription.test.ts +14 −21 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/ReleaseDescriptionBadgesTracker.test.ts +6 −21 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagement.test.ts +14 −19 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagementDisplayer.test.ts +19 −22 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagementDisplayer.vue +4 −7 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDisplayer.test.ts +18 −20 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDisplayer.vue +9 −10 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/PastReleaseHeaderInitialPoints.test.ts +4 −16 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/PastReleaseHeaderTestsDisplayer.test.ts +5 −17 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeader.test.ts +9 −21 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeaderRemainingDays.test.ts +11 −24 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeaderRemainingDays.vue +0 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseHeader/ReleaseHeaderRemainingPoints.test.ts +10 −23 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/WhatsHotSection.test.ts +14 −25 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/WhatsHotSection.vue +3 −5 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/helpers/local-vue-for-test.ts +0 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/index.ts +32 −16 Go to diff View file
D plugins/projectmilestones/scripts/projectmilestones/src/store/actions.ts +0 −237 Go to diff View file
D plugins/projectmilestones/scripts/projectmilestones/src/store/getters.ts +0 −22 Go to diff View file
D plugins/projectmilestones/scripts/projectmilestones/src/store/index.ts +0 −70 Go to diff View file
D plugins/projectmilestones/scripts/projectmilestones/src/store/mutations.ts +0 −46 Go to diff View file
R plugins/projectmilestones/scripts/projectmilestones/src/store/actions.test.ts Go to diff View file
A plugins/projectmilestones/scripts/projectmilestones/src/stores/root.ts +287 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/type.ts +22 −25 Go to diff View file
M plugins/projectmilestones/tests/e2e/cypress/cypress/e2e/projectmilestones.cy.ts +2 −2 Go to diff View file