stable

Clone or download

Read-only

feat: display subtasks

When the user expands a task, its subtasks are loaded and displayed. (skeletons are still displayed while loading). If there are links between subtasks or between task and subtasks, then they are displayed. The timeperiod is adapted according to the displayed set of tasks and subtasks. Error management will be done later in a dedicated contribution. Part of story #20979: Display children in Roadmap Change-Id: Ie75f76ac8f3f4c2b8d447512ac1b92037a770d3c

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/components/App.test.ts +11 −8 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/App.vue +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +93 −86 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +28 −1 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Subtask/SubtaskHeader.vue +50 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/HeaderLink.vue +42 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.test.ts +3 −61 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.vue +6 −7 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.test.ts +226 −211 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.ts +14 −3 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.test.ts +4 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.ts +5 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/index.ts +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-actions.test.ts +42 −20 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-actions.ts +25 −10 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-getters.test.ts +173 −12 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-getters.ts +33 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-mutations.test.ts +96 −36 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-mutations.ts +40 −16 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/type.ts +7 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +16 −2 Go to diff View file
M plugins/roadmap/themes/_gantt-header.scss +27 −18 Go to diff View file