Content
View differences
Updated by Henriette Darge over 1 year ago
**As a** project manager
**I want to** understand the relations constraints when setting dates or switching scheduling mode
**So that** I feel in control and avoid switching to Gantt view to understand relations.
#### Acceptance criteria
##### **Date picker:**
* When In the "Predecessors" tab, when there are multiple predecessors, the one setting the date of the current work package has a label that says "Closest" next to the date and lag information
* The closest is the predecessor which has the latest due\_date combined with the lag
* When two predecessors or more have the same end date, by convention the oldest one is chosen as the closest (_created\_at_ field).
* This information is shown in the relations tab, as well as in the Datepicker
#### Visuals
_**Note:** Please check_ [_Figma_](https://www.figma.com/design/HrWVktq0SsGI2dqqIKQ11M/Scheduling---Lag-and-Modes?node-id=175-3641) _for the most recent mockups._
**Date picker Predecessors tab:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:540px;" src="/api/v3/attachments/226781/content">
**I want to** understand the relations constraints when setting dates or switching scheduling mode
**So that** I feel in control and avoid switching to Gantt view to understand relations.
#### Acceptance criteria
* The closest is the predecessor which has the latest due\_date combined with the lag
* When two predecessors or more have the same end date, by convention the oldest one is chosen as the closest (_created\_at_ field).
* This information is shown in the relations tab, as well as in the Datepicker
_**Note:** Please check_ [_Figma_](https://www.figma.com/design/HrWVktq0SsGI2dqqIKQ11M/Scheduling---Lag-and-Modes?node-id=175-3641) _for the most recent mockups._
**Date picker Predecessors tab:**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:540px;" src="/api/v3/attachments/226781/content">