stable

Clone or download

Read-only

feat: Display tasks with end < start

In order to prevent users searching for tasks that have end date lesser than start date, we now expose them in the gantt chart. Those tasks are displayed at the end of tasks (or at the end of their sibling subtasks) with a warning sign, but without any bar at all. The popover displays an error message to explain such display. Dependency links between those tasks and another tasks are not displayed as well. Part of story #20979: Display children in Roadmap Change-Id: If58fc2c66d654f6c7f810b7304fbe1a394dab66e

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/po/fr_FR.po +3 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +4 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Subtask/SubtaskHeader.test.ts +20 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Subtask/SubtaskHeader.vue +38 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/BarPopover.test.ts +25 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/BarPopover.vue +9 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +10 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.vue +37 −26 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/HeaderInvalidIcon.vue +25 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.test.ts +35 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.vue +38 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/dependency-map-builder.test.ts +42 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/dependency-map-builder.ts +8 −1 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/task-has-valid-dates.test.ts +62 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/task-has-valid-dates.ts +23 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.test.ts +48 −18 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.ts +21 −10 Go to diff View file
M plugins/roadmap/themes/_gantt-header.scss +21 −2 Go to diff View file
M plugins/roadmap/themes/_popover.scss +13 −0 Go to diff View file