stable

Clone or download

Read-only

User can choose which type of link to display

Given a Task A has a link to Task B with the nature "depends_on" When the user first display the widget Then no dependency is displayed And the user can choose to display the links "Depends on" (or other type of links). Note: Links without nature are labelled "", like it is done in the tracker interface. However I think that we should probably put a distinctive label. IMHO this can be released as is and enhanced later in a dedicated commit after discussion with Design Team. Note: Since the beginning of the story, we only display "forward" dependency. Once released and put into real users hand, this patch will highlight if we need also "reverse" links. Part of story #19734: have a Roadmap widget on dashboard Change-Id: Ic39b2fc55910d4e96eaf3a3d65412b443d8a98f7

Modified Files

Name
M plugins/roadmap/include/Roadmap/RoadmapProjectWidget.php +14 −4 Go to diff View file
M plugins/roadmap/include/roadmapPlugin.php +5 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/po/fr_FR.po +6 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/App.test.ts +1 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/App.vue +10 −2 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/DependencyNatureControl.test.ts +78 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/DependencyNatureControl.vue +88 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.test.ts +5 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/GanttBoard.vue +34 −3 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +29 −20 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.vue +8 −6 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/nature-labels-from-mountpoint.test.ts +43 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/nature-labels-from-mountpoint.ts +36 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/natures-labels-for-tasks.test.ts +85 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/helpers/natures-labels-for-tasks.ts +47 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/index.ts +4 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +2 −0 Go to diff View file
M plugins/roadmap/templates/widget-roadmap.mustache +1 −1 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/RoadmapProjectWidgetTest.php +2 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/Widget/RoadmapConfigureAtXMLImportTest.php +7 −3 Go to diff View file
A plugins/roadmap/themes/_controls.scss +37 −0 Go to diff View file
M plugins/roadmap/themes/_gantt-board.scss +1 −9 Go to diff View file