Content
View differences
Updated by Marc Alcobé over 1 year ago
_**Note:** This will become mandatory to implement from 15.1 with the work package <mention class="mention" data-id="42388" data-type="work_package" data-text="#42388">#42388</mention>._
## Acceptance criteria
##### General
* There are only two scheduling modes.
* **Manual**: The user can freely set [ ] Implement the start and finish dates, but relations are ignored.
* **Automatic:** Automatically sets the start date based on a predecessor. The user can only set duration.
* This mode four identified cases in which this banner is also used for parents, where displayed excluding the duration field is also inactive.
* Any time a user wants button to manually choose dates for see the relations in a work package, they select manual scheduling.
Gantt chart:
* By default, [ ] **Warning**: "Manual scheduling enabled, all new relations ignored."
(This is only visible when the work packages will be package in question has relations; a manually scheduled.
* A new manually-scheduled scheduled work package with no relations will either have no dates, or take the current date (depending on existing settings).
not show this banner).
* Every newly created [ ] **Warning**: "Changing these dates will affect dates of related work package will have no predecessor; they have to be added later.
packages."
* If it's a new child work package, it will continue behaving as it does today [ ] **Information**: "Available start and finish dates are limited by default take the parent's start date.
relations."
* For automatic scheduling, a predecessor is required. If there [ ] **Information**: "Automatically scheduled. Dates are no predecessors:
derived from relations."
* the top banner will show an error informing the user [ ] Ensure that a predecessor is required
* all fields will be disabled (non-working days, save action..)
##### **Migration from an earlier version**
* Check each case has the scheduling mode of all work packages to be able to display their correct dates and mode (Manual or Automatic).
##### **Date picker**
* The limits on the date picker selections as in mobile will not have any predecessor, successor or children tab.
* The header of the modal is removed web-app. Use [this work package](https://community.openproject.org/projects/openproject/work_packages/42047/activity) as reference to give space to check the banners (specified bellow).
current implementation.
* There is a new segmented button with label "Scheduling mode"
* Options: "Manual" and "Automatic"
* The "Ignore non working days" toggle is renamed to "Working days only" and activated by default in all new work packages.
* 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 [ ] Implement 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 scheduling overrides all the past when it's moved to limitations on the past.
* In **Automatic** mode:
* The _Start date_ and _Finish date_ fields are read-only.
* Duration remains editable.
* The mini calendar goes into read-only mode.
##### **Date date picker banners:** so the user can select dates freely.
**Manual scheduling:** ## Work packages from web-app:
* Colour: Warning yellow. Previous messages to implement: <mention class="mention" data-id="42047" data-type="work_package" data-text="#42047">#42047</mention>
* Action: No action in mobile.
* Text: **Manually scheduled. Dates not affected by relations.** As soon as possible: <mention class="mention" data-id="42388" data-type="work_package" data-text="#42388">#42388</mention>.
**Automatic:**
* Colour: Info blue.
* Action: No action in mobile.
* Text case 1: There is a predecessor.
* **The start date is set by a predecessor.**
* Text case 2: The work package is a parent.
* **The dates are determined by child work packages.**
* If a work package is both a parent and has predecessors, this "parent" message will be displayed.
* Text case 3: The work package has no predecessor or children:
* **To enable automatic scheduling, this work package needs to have at least one predecessor.**
* All the options bellow but changing back to manual scheduling will be disabled, including the save button.
* This is an error message and therefore it will take light red as background colour.
## Figma and visuals
https://www.figma.com/design/arGHBRVi6WLJDLTv0YoOoo/Mobile-App---Spike?node-id=2028-4981
<br>
## Acceptance criteria
##### General
* There are only two scheduling modes.
* **Manual**: The user can freely set
* **Automatic:** Automatically sets the start date based on a predecessor. The user can only set duration.
* This mode
* Any time a user wants
(This is only visible when the
* A new manually-scheduled
* all fields will be disabled (non-working days, save action..)
##### **Migration from an earlier version**
* Check
##### **Date picker**
* The
* The header of the modal is removed
* Options: "Manual" and "Automatic"
* The "Ignore non working days" toggle is renamed to "Working days only" and activated by default in all new work packages.
* 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
* A manual work package can start before any of their predecessors.
* A manually scheduled work package will not push a predecessor to
* In **Automatic** mode:
* The _Start date_ and _Finish date_ fields are read-only.
* Duration remains editable.
* The mini calendar goes into read-only mode.
##### **Date
**Manual scheduling:**
* Colour: Warning yellow.
* Action: No action in mobile.
* Text: **Manually scheduled. Dates not affected by relations.**
**Automatic:**
* Colour: Info blue.
* Action: No action in mobile.
* Text case 1: There is a predecessor.
* **The start date is set by a predecessor.**
* Text case 2: The work package is a parent.
* **The dates are determined by child work packages.**
* If a work package is both a parent and has predecessors, this "parent" message will be displayed.
* Text case 3: The work package has no predecessor or children:
* **To enable automatic scheduling, this work package needs to have at least one predecessor.**
* All the options bellow but changing back to manual scheduling will be disabled, including the save button.
* This is an error message and therefore it will take light red as background colour.
## Figma and visuals
https://www.figma.com/design/arGHBRVi6WLJDLTv0YoOoo/Mobile-App---Spike?node-id=2028-4981
<br>