Content
View differences
Updated by Benjamin Bädorf almost 4 years ago
In <mention class="mention" data-id="42758" data-type="work_package" data-text="#42758">#42758</mention>, the visual notion of a configurable non-working day was introduced.
See: This feature describes the behavioral changes with regards to non-working days:
[#43638](https://community.openproject.org/work_packages/43638) ### **Work packages spanning non-working days (Team planner, GANTT and [#43637](https://community.openproject.org/work_packages/43637) calendar)**
* Cards (team planner) and strips (GANTT/calendar) will span over a non-working days:
* If non-working days are enabled (via the date picker), a 3-day work package from Thursday will span Thursday to Saturday _(assuming Sat/Sun non-working)._
* If non-working days are not-enabled (via the date picker), 3-day work package from Thursday will span Thursday to Monday _(assuming Sat/Sun non-working)._
* Cards (team planner) and strips (GANTT/calendar) themselves will not indicate whether non-working days are included or not.
* Automatically scheduled work packages whose dates are derived should be blocked from dragging (as is the case currently on the GANTT view for parent work packages).
### **Creating new cards by clicking/selecting dates (Team planner and calendar)**
* When clicking on a single date that is a non-working day
* the work package will be scheduled for that day and
* "Include non-working days" will be enabled in the date picker
* Selecting a range of days that includes a non-working day
* the work package will be scheduled on the selected days _excluding_ non-working days (eg. drag-selecting Thursday to Monday will create a work package that spans these days but where duration is 3 days),
* "Include non-working days" will _not_ be enabled in the date picker
* Clicking a day or selecting a range of days that _does not_ include non-working days
* The work package will be scheduled on the selected days
* "Include non-working days" will _not_ be enabled in the date picker
### **Dragging or resizing an existing work package (Team planner and calendar)**
* Moving a work package (where the "include non-working days checkbox is NOT selected) to a start date that is a non-working day is blocked visually (similar to the permission-based blocking)
* This will look the same as when you try to drag a parent card in the GANTT chart.
* To move this card to a non-working start date, the user has to open the date picker and select "Include non-working days"
* Moving a card such that it spans non-working days is possible.
* The start date is the newly selected start date.
* The finish date is adjusted to maintain duration (by skipping non-working days).
### Clicking on a date to schedule work packages without start/finish dates on the GANTT
* On the GANTT, a work package without dates (where "including non-working days" checkbox is not selected) can be scheduled by clicking on a date:
* This has to be a working day
* Clicking on non-working days is blocked
* If the "include non-working days" checkbox is selected:
* Start day can be any day, weekend or otherwise.
### **Dragging or resizing a work package that includes non-working days**
* There are no limitations for manually scheduled work package
See:
[#43638](https://community.openproject.org/work_packages/43638)
* Cards (team planner) and strips (GANTT/calendar) will span over a non-working days:
* If non-working days are enabled (via the date picker), a 3-day work package from Thursday will span Thursday to Saturday _(assuming Sat/Sun non-working)._
* If non-working days are not-enabled (via the date picker), 3-day work package from Thursday will span Thursday to Monday _(assuming Sat/Sun non-working)._
* Cards (team planner) and strips (GANTT/calendar) themselves will not indicate whether non-working days are included or not.
* Automatically scheduled work packages whose dates are derived should be blocked from dragging (as is the case currently on the GANTT view for parent work packages).
### **Creating new cards by clicking/selecting dates (Team planner and calendar)**
* When clicking on a single date that is a non-working day
* the work package will be scheduled for that day and
* "Include non-working days" will be enabled in the date picker
* Selecting a range of days that includes a non-working day
* the work package will be scheduled on the selected days _excluding_ non-working days (eg. drag-selecting Thursday to Monday will create a work package that spans these days but where duration is 3 days),
* "Include non-working days" will _not_ be enabled in the date picker
* Clicking a day or selecting a range of days that _does not_ include non-working days
* The work package will be scheduled on the selected days
* "Include non-working days" will _not_ be enabled in the date picker
### **Dragging or resizing an existing work package (Team planner and calendar)**
* Moving a work package (where the "include non-working days checkbox is NOT selected) to a start date that is a non-working day is blocked visually (similar to the permission-based blocking)
* This will look the same as when you try to drag a parent card in the GANTT chart.
* To move this card to a non-working start date, the user has to open the date picker and select "Include non-working days"
* Moving a card such that it spans non-working days is possible.
* The start date is the newly selected start date.
* The finish date is adjusted to maintain duration (by skipping non-working days).
### Clicking on a date to schedule work packages without start/finish dates on the GANTT
* On the GANTT, a work package without dates (where "including non-working days" checkbox is not selected) can be scheduled by clicking on a date:
* This has to be a working day
* Clicking on non-working days is blocked
* If the "include non-working days" checkbox is selected:
* Start day can be any day, weekend or otherwise.
### **Dragging or resizing a work package that includes non-working days**
* There are no limitations for manually scheduled work package