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:** picker: Predecessor, Successor and Children tabs**
* There is now an _UnderlineNav_ bar at the top:
* With three options:
* Dates
* Predecessors
* Successors
* Children
* Each of the tabs displays the number of relations of that type with a badge
* In each tab, all relations of that type are displayed in a box list
* The content is the same as in the "Relations" tab of the work package, but without the section header
* 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
* When two predecessors or more have the same end date, by convention the oldest one is chosen as the closest (_created\_at_ field).
* If there are no predecessors and automatic scheduling mode is selected in the date picker:
* a blankslate with a primary action to add a predecessor will be displayed (permissions allowing)
#### 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
##### **Date picker:**
*
* With three options:
* Dates
* Predecessors
* Successors
* Children
* Each of the tabs displays the number of relations of that type with a badge
*
* The content is
* In the
* When two predecessors or more have the same end date, by convention the oldest one is chosen as the closest (_created\_at_ field).
* If there are no predecessors and automatic scheduling mode is selected in the date picker:
* a blankslate with a primary action to add a predecessor will be displayed (permissions allowing)
#### 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">