stable

Clone or download

Read-only

feat: loading state when displaying subtasks

When a task has subtasks and users click on the caret to expand it, then skeleton rows are displayed under the task. If there was links displayed, then they are not impacted by the new rows that are displayed. If users click again on the caret, then the skeleton rows disappear. Part of story #20979: Display children in Roadmap Change-Id: Ic1f9f38d4a00afb23c5d6ef3041b96dacd0da0b7

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +32 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +40 −14 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Subtask/SubtaskSkeletonBar.vue +74 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Subtask/SubtaskSkeletonHeader.vue +54 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/DependencyArrow.test.ts +5 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.test.ts +118 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/TaskHeader.vue +40 −11 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/LoadingState.vue +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.test.ts +19 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.ts +1 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.test.ts +17 −8 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/tasks-dimensions.ts +13 −10 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-actions.test.ts +88 −62 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-actions.ts +9 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-getters.test.ts +5 −3 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-getters.ts +1 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-mutations.test.ts +41 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/tasks/tasks-mutations.ts +33 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +10 −1 Go to diff View file
M plugins/roadmap/themes/_gantt-header.scss +80 −8 Go to diff View file