stable

Clone or download

Read-only

feat: Display iterations in Roadmap widget

If a roadmap has defined one or two iteration trackers (you have to hack the db for now), then corresponding iterations are displayed. If iteration have end date < start date, then it won't be displayed. If iteration is too short, then text won't be visible and corresponding artifact won't be accessible. Since it is not the nominal case (iterations usually span on a minimum 2 weeks window), we ignore this case. Part of story #21379: Display iterations on top of roadmap Change-Id: I856a014507d47274ef24b59e52871256ddcec771

Modified Files

Name
M plugins/roadmap/include/Roadmap/REST/v1/IterationsRetriever.php +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
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Iteration/IterationBar.test.ts +130 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Iteration/IterationBar.vue +88 −0 Go to diff View file
A plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Iteration/IterationsRibbon.test.ts +59 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/components/Gantt/Iteration/IterationsRibbon.vue +15 −2 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/first-date.test.ts +18 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/first-date.ts +19 −16 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/iterations-retriever.ts +10 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/last-date.test.ts +18 −1 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/helpers/last-date.ts +27 −24 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/timeperiod/timeperiod-getters.test.ts +61 −0 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/timeperiod/timeperiod-getters.ts +18 −4 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/type.ts +4 −0 Go to diff View file
M plugins/roadmap/tests/unit/Roadmap/REST/v1/IterationsRetrieverTest.php +92 −0 Go to diff View file
M plugins/roadmap/themes/_iteration.scss +34 −19 Go to diff View file