Content
View differences
Updated by Attila Dombi almost 4 years ago
### Acceptance criteria
#### Basic - Copied from <mention class="mention" data-id="31992" data-type="work_package" data-text="#31992">#31992</mention> 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, the entire work package strip might not visible (i.e, the finish one (finish date end might be is outside of current view), the available view). The user can nevertheless place the work package on the GANTT (and thus give the work package a start and end date):
* If autozoom is enabled, it will work as it does today first have to give the user a complete view (by zooming click to commit, and then zoom out if necessary).
* If autozoom is not enabled, the user will have to or scroll horizontally to view the end 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 Additional
**Work packages spanning non-working days**
* Strips will span over a non-working day:
* 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 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).
**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
#### 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, the entire work package strip might not visible (i.e, the finish
* If autozoom is enabled, it will work as it does today
* If autozoom is not enabled, the user will have to
* 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 will span over a non-working day:
* 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 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).
**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