stable

Clone or download

Read-only

Chart displayers must not mutate it's props

part of request #33654 move project milestone widget in vue3 No functional changes: BurnDown, burnUp and TTM pie chart should still be displayed Note: Mutating Props is a vue anti-pattern [0], I have an eslint error when I'm converting the component into composition API I extracted the mutating props in a dedicated patch in order to help review I have remove the cache for graphs, it does not work on master it's a bug who will be corrected by request #35161 once the App will be fully migrated [0] https://vuejs.org/guide/components/props.html#one-way-data-flow Change-Id: Icac741b75cfdebc71e533576c62587f8e62ece3d

Modified Files

Name
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/Burndown.test.ts +1 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/Burndown.vue +5 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/BurndownDisplayer.test.ts +127 −180 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burndown/BurndownDisplayer.vue +8 −9 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/Burnup.test.ts +1 −0 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/Burnup.vue +5 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/BurnupDisplayer.test.ts +145 −199 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/Burnup/BurnupDisplayer.vue +8 −9 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/ChartDisplayer.test.ts +26 −2 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/Chart/ChartDisplayer.vue +26 −25 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagement.vue +10 −8 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/TestManagement/TestManagementDisplayer.vue +11 −10 Go to diff View file