Skip to content

Roadmap - Fix alignment of epics with no start date

What does this MR do and why?

Fixes end date alignment for epics with no start date, with a start date out of range or start date on the first day of the week.

This bug currently occurs when viewing the Roadmap by week.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
Screenshot_from_2024-05-22_11-56-57 Screenshot_from_2024-05-22_11-56-38

How to set up and validate locally

  1. Create several epics, with the same end date and various start dates.
  2. Some start dates should be far enough in the past to be out of range
  3. Also leave some start dates empty while applying an end date
  4. View the Roadmap by week, and verify that end dates are aligned.

Related to #459030 (closed)

Edited by Florie Guibert

Merge request reports