stable

Clone or download

Read-only

Calculate only once the dimensions of a task

This avoid to do the same computation: * to display the bar * to display its dependencies No functional changes. Part of story #19734: have a Roadmap widget on dashboard Change-Id: I522d40c42f7a21dedc051ca3ee2c12a08d74acc7

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +7 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.test.ts +9 −7 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.vue +7 −10 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +2 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.vue +11 −6 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.test.ts +123 −79 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.ts +22 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +2 −0 Go to diff View file