stable

Clone or download

Read-only

Display dependencies in Roadmap

This displays all links, whatever their nature. (Later, user will be able to select which type of link must be displayed.) Color of the arrow is fixed to "dimmed", it will be adjusted later. As of today, the dimensions of a task (position from the left + width) might be computed more than once: * once for the bar itself * once for each dependency the task is part of It will be improved in a dedicated changeset. Part of story #19734: have a Roadmap widget on dashboard Change-Id: I6f74d3695f92684558bbee0b87a25d9810eff6f5

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +11 −7 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +8 −1 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.test.ts +142 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.vue +131 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +55 −125 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.vue +34 −25 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.test.ts +1 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/dependency-map-builder.test.ts +54 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/dependency-map-builder.ts +51 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/styles.ts +1 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.test.ts +115 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.ts +51 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +16 −7 Go to diff View file
A plugins/roadmap/themes/_dependencies.scss +34 −0 Go to diff View file
M plugins/roadmap/themes/_roadmap-variables.scss +3 −0 Go to diff View file
M plugins/roadmap/themes/_task.scss +2 −0 Go to diff View file