stable

Clone or download

Read-only

Report errors of time periods in widget

part of: story #21362 Base artifact timeframe on a linked artifact How to test: In the following test example, my tracker User Story implies its semantic timeframe from the Sprint tracker. - Links two sprints to a user story --> The user story is displayed --> It has no TaskBar --> A warning icon is displayed in its TaskHeader --> The popover displays the error message "too many sprints linking this user story blablabla" Change-Id: I3614dd40a8bea6839b25b1d60a208f117d367d62

Modified Files

Name
M plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentation.php +7 −3 Go to diff View file
M plugins/roadmap/include/Roadmap/REST/v1/TaskRepresentationBuilderForTracker.php +1 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/BarPopover.test.ts +33 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/BarPopover.vue +10 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Task/GanttTask.test.ts +0 −9 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-has-valid-dates.test.ts +9 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-has-valid-dates.ts +4 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.test.ts +70 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/task-retriever.ts +19 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +1 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php +3 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/SubtasksRetrieverTest.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +2 −6 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeNotConfigured.php +15 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTrackerTest.php +20 −12 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeNotConfiguredTest.php +31 −12 Go to diff View file
M src/common/date/TimePeriodWithoutWeekEnd.class.php +20 −11 Go to diff View file