stable

Clone or download

Read-only

feat: Display future iterations

In git #tuleap/stable/4bace401df1005c0354d5b51db94c1daa9eb8b8d past and future iterations have been filtered out. While it is still true for past iterations, future iterations are important and should be displayed since they are part of a **roadmap**. For example if you have one task displayed in your gantt with the following dates: { start: 2020-03-10, end: 2020-04-10 } and you have defined an iteration tracker for this widget (remember that you have to hack the database for now) with the following iterations: * Sprint A { start: 2020-01-01, end: 2020-01-31 } * Sprint B { start: 2020-02-01, end: 2020-02-28 } * Sprint C { start: 2020-03-01, end: 2020-03-31 } * Sprint D { start: 2020-04-01, end: 2020-04-30 } * Sprint E { start: 2020-05-01, end: 2020-05-31 } * Sprint F { start: 2020-05-01, end: 2020-06-30 } Then only Sprint C, Sprint D, Sprint E, and Sprint F should be displayed. Part of story #21379: Display iterations on top of roadmap Change-Id: Iae7bb564ed18d5da62e39781171d992b8892b9d2

Modified Files

Name
M plugins/roadmap/scripts/roadmap-widget/src/store/timeperiod/timeperiod-getters.test.ts +8 −101 Go to diff View file
M plugins/roadmap/scripts/roadmap-widget/src/store/timeperiod/timeperiod-getters.ts +7 −17 Go to diff View file