Content
View differences
Updated by Parimal Satyal over 1 year ago
**Acceptance criteria**
##### **Date picker**
* The date picker will be Primerised.
* There is now an UnderlineNav bar at the top:
* With four options:
* Dates
* Predecessors
* Successors
* Children
* Tab: **Dates**
* There is a new segmented control with label "Scheduling mode"
* There is a help icon next to the label. On hover, it displays a tooltip with this text: "‘Manual’ lets you pick fixed dates freely but ignores all predecessors. ‘Automatic’ selects the earliest possible start date for this work package, which cannot be modified."
* Options: "Manual" and "Automatic"
* The "Working days only" toggle becomes a checkbox aligned to the far right edge of the same line as the segmented control.
* In **Manual** mode:
* The dates are freely selectable, without restrictions.
* Relations don't affect the start and finish dates.
* A manually scheduled work package can push and pull successors that are automatically scheduled
* A manual work package can start before any of their predecessors
* A manually scheduled work package will not push a predecessor to the past when it's moved to the past
* In **Automatic** mode:
* The _Start date_ and _Finish date_ fields are read-only
* The "Today" links under the date fields are disabled (but not removed so that elements in the date picker don't move when changing modes)
* Duration remains editable (unless it's a parent)
* The mini calendar goes into read-only mode
* a blankslate with a primary action to add a predecessor will be displayed (permissions allowing)
* Tabs: **Predecessor, Successor and 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 listThe content is the same as in the "Relations" tab of the work package, but without the section header
* 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)
<br>
##### **Date picker banners:**
**Manual scheduling:**
* Colour: Warning orange
* Action: Show relations
* Case 1: Relations exist but no predecessors.
* **Manually scheduled. Dates not affected by relations.**
Click on “Show relations” for Gantt overview
* Case 2: There are predecessors but a gap of over two days with the finish date of the latest predecessor.
* **Manually scheduled. Dates not affected by relations.**
There is a gap between this and all predecessors.
* Case 3: There are predecessors and the current work package overlaps with at least one of them.
* **Manually scheduled. Dates not affected by relations.**
Overlaps with at least one predecessor.
* Case 4: Work package has children.
* **Manually scheduled. Dates not affected by relations.**
This has child work package but their start dates are ignored.
**Automatic:**
* Colour: Info blue
* Action: Show relations
* Case 1: There is a predecessor.
* **The start date is set by a predecessor.**
Click on “Show relations” for Gantt overview.
* Case 4: The work package is a parent.
* **The dates are determined by child work packages.**
Click on “Show relations” for Gantt overview.
* If a work package is both a parent and has predecessors, this "parent" message will be displayed.
#### Visuals
_**Note:** Please check_ [_Figma_](https://www.figma.com/design/HrWVktq0SsGI2dqqIKQ11M/Scheduling---Lag-and-Modes?node-id=175-3641) _for the most recent mockups._
**Manual scheduling (but predecessors overlap):**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:604px;" src="/api/v3/attachments/260035/content"> <figure class="image image_resized op-uc-figure" style="width:539px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/241073/content"></div></figure>
**As soon as possible (start date set by predecessors):**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:585px;" src="/api/v3/attachments/260034/content"> <figure class="image image_resized op-uc-figure" style="width:532px;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/241075/content"></div></figure>
##### **Date picker**
* The date picker will be Primerised.
* There is now an UnderlineNav bar at the top:
* With four options:
* Dates
* Predecessors
* Successors
* Children
* Tab: **Dates**
* There is a new segmented control with label "Scheduling mode"
* There is a help icon next to the label. On hover, it displays a tooltip with this text: "‘Manual’ lets you pick fixed dates freely but ignores all predecessors. ‘Automatic’ selects the earliest possible start date for this work package, which cannot be modified."
* Options: "Manual" and "Automatic"
* The "Working days only" toggle becomes a checkbox aligned to the far right edge of the same line as the segmented control.
* In **Manual** mode:
* The dates are freely selectable, without restrictions.
* Relations don't affect the start and finish dates.
* A manually scheduled work package can push and pull successors that are automatically scheduled
* A manual work package can start before any of their predecessors
* A manually scheduled work package will not push a predecessor to the past when it's moved to the past
* In **Automatic** mode:
* The _Start date_ and _Finish date_ fields are read-only
* The "Today" links under the date fields are disabled (but not removed so that elements in the date picker don't move when changing modes)
* Duration remains editable (unless it's a parent)
* The mini calendar goes into read-only mode
* a blankslate with a primary action to add a predecessor will be displayed (permissions allowing)
* Tabs: **Predecessor, Successor and 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 listThe content is the same as in the "Relations" tab of the work package, but without the section header
* 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)
<br>
##### **Date picker banners:**
**Manual scheduling:**
* Colour: Warning orange
* Action: Show relations
* Case 1: Relations exist but no predecessors.
* **Manually scheduled. Dates not affected by relations.**
Click on “Show relations” for Gantt overview
* Case 2: There are predecessors but a gap of over two days with the finish date of the latest predecessor.
* **Manually scheduled. Dates not affected by relations.**
There is a gap between this and all predecessors.
* Case 3: There are predecessors and the current work package overlaps with at least one of them.
* **Manually scheduled. Dates not affected by relations.**
Overlaps with at least one predecessor.
* Case 4: Work package has children.
* **Manually scheduled. Dates not affected by relations.**
This has child work package but their start dates are ignored.
**Automatic:**
* Colour: Info blue
* Action: Show relations
* Case 1: There is a predecessor.
* **The start date is set by a predecessor.**
Click on “Show relations” for Gantt overview.
* Case 4: The work package is a parent.
* **The dates are determined by child work packages.**
Click on “Show relations” for Gantt overview.
* If a work package is both a parent and has predecessors, this "parent" message will be displayed.
#### Visuals
_**Note:** Please check_ [_Figma_](https://www.figma.com/design/HrWVktq0SsGI2dqqIKQ11M/Scheduling---Lag-and-Modes?node-id=175-3641) _for the most recent mockups._
**Manual scheduling (but predecessors overlap):**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:604px;" src="/api/v3/attachments/260035/content">
**As soon as possible (start date set by predecessors):**
<img class="image_resized op-uc-image op-uc-image_inline" style="width:585px;" src="/api/v3/attachments/260034/content">