Content
View differences
Updated by Henriette Darge almost 4 years ago
### Acceptance criteria
#### Basic - Copied from <mention class="mention" data-id="31992" data-type="work_package" data-text="#31992">#31992</mention>
* For work packages without start/finish dates but _with_ duration, the width of a "strip" representing such a work package on hover on a GANTT view has a width that is relative to its total duration (on drag over GANTT).
* "Relative" because width depends on the zoom level of the GANTT chart.
* On click, end date is calculated based on the the start date selected.
* If the duration is very long one (finish date is outside of current view), the user will first have to click to commit, and then zoom out or scroll to view the finish date.
* If the user modifies a work package via the drag handles on the left/right edges of the strips the in Gantt chart, both the start/finish date as well as the duration are altered in lockstep, based on which side is dragged.
* If non-working are included for that work package (via the date-picker), they will need to be taken into account in the GANTT too (for example, the work package should span the weekend if the weekend is included).
#### Additional
**Work packages spanning non-working days**
* Strips (GANTT/calendar) will span over a non-working day: 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)._
* Strips (GANTT/calendar) themselves will **not** 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).
**Clicking ### Clicking on a date to schedule work packages without start/finish dates on the GANTT** 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
#### Basic - Copied from <mention class="mention" data-id="31992" data-type="work_package" data-text="#31992">#31992</mention>
* For work packages without start/finish dates but _with_ duration, the width of a "strip" representing such a work package on hover on a GANTT view has a width that is relative to its total duration (on drag over GANTT).
* "Relative" because width depends on the zoom level of the GANTT chart.
* On click, end date is calculated based on the the start date selected.
* If the duration is very long one (finish date is outside of current view), the user will first have to click to commit, and then zoom out or scroll to view the finish date.
* If the user modifies a work package via the drag handles on the left/right edges of the strips the in Gantt chart, both the start/finish date as well as the duration are altered in lockstep, based on which side is dragged.
* If non-working are included for that work package (via the date-picker), they will need to be taken into account in the GANTT too (for example, the work package should span the weekend if the weekend is included).
#### Additional
**Work packages spanning non-working days**
* Strips
* 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)._
* Strips
* 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).
**Clicking
* 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.
* There are no limitations for manually scheduled work package