Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Added new page for date picker, updated GANTT

Parimal Satyalaf5d877527aa
diff --git a/docs/user-guide/gantt-chart/scheduling/README.md b/docs/user-guide/gantt-chart/scheduling/README.md
index 9518bb8eedf..c2138c76a9f 100644
--- a/docs/user-guide/gantt-chart/scheduling/README.md
+++ b/docs/user-guide/gantt-chart/scheduling/README.md
@@ -54,7 +54,7 @@ Moving a child work package in the manual scheduling mode will not move the date
You can **activate the manual scheduling mode** by clicking on the date of a work package and selecting the box next to "Manual scheduling". This will activate the manual scheduling mode only for the respective work package.
-![image-20200929160916841](image-20200929160916841.png)
+![manual-scheduling-checkbox](manual-scheduling-checkbox.png)
The pin symbol next to the date indicates that a work package is in manual scheduling mode.
diff --git a/docs/user-guide/gantt-chart/scheduling/manual-scheduling-checkbox.png b/docs/user-guide/gantt-chart/scheduling/manual-scheduling-checkbox.png
new file mode 100644
index 00000000000..943e9feed32
Binary files /dev/null and b/docs/user-guide/gantt-chart/scheduling/manual-scheduling-checkbox.png differ
diff --git a/docs/user-guide/work-packages/README.md b/docs/user-guide/work-packages/README.md
index 98ca5f82a4c..43792de549e 100644
--- a/docs/user-guide/work-packages/README.md
+++ b/docs/user-guide/work-packages/README.md
@@ -30,12 +30,13 @@ Work packages can be displayed in a projects timeline, e.g. as a milestone or a
| Topic | Content |
| ------------------------------------------------------------ | :----------------------------------------------------------- |
| [Work packages views](work-package-views) | What is the difference between the work packages views: list view, split screen view, details view? |
-| [Create a work package](create-work-package) | How to create a new work package in OpenProject? |
-| [Edit work package](edit-work-package) | How to edit a work package in OpenProject? |
-| [Copy, move, delete](copy-move-delete) | How to copy, move, delete a work package? |
-| [Work package table configuration](work-package-table-configuration) | How to configure the work package table (columns, filters, group by, etc.)? |
-| [Exporting](exporting) | How to export work packages for other tools such as Microsoft Excel? |
-| [Work package relations and hierarchies](work-package-relations-hierarchies) | How to create work package relations and hierarchies? |
+| [Create a work package](create-work-package) | How to create a new work package in OpenProject |
+| [Set and change dates](set-and-change-dates) | How to set and change start and finish dates of work packages in OpenProject |
+| [Edit work package](edit-work-package) | How to edit a work package in OpenProject |
+| [Copy, move, delete](copy-move-delete) | How to copy, move, delete a work package |
+| [Work package table configuration](work-package-table-configuration) | How to configure the work package table (columns, filters, group by, etc.) |
+| [Exporting](exporting) | How to export work packages for other tools such as Microsoft Excel |
+| [Work package relations and hierarchies](work-package-relations-hierarchies) | How to create work package relations and hierarchies |
<video src="https://openproject-docs.s3.eu-central-1.amazonaws.com/videos/OpenProject-Work-Packages.mp4" type="video/mp4" controls="" style="width:100%"></video>
diff --git a/docs/user-guide/work-packages/set-change-dates/README.md b/docs/user-guide/work-packages/set-change-dates/README.md
new file mode 100644
index 00000000000..3ff2fe0b2aa
--- /dev/null
+++ b/docs/user-guide/work-packages/set-change-dates/README.md
@@ -0,0 +1,138 @@
+---
+sidebar_navigation:
+ title: Set and change dates
+ priority: 890
+description: How to use the date picker to set and update start and finish of work packages
+keywords: date picker start finish dates change modify update relations work package
+---
+
+# Set and change start and finish dates of work packages
+
+| Feature | Documentation for |
+| ------------------------------------------------------------ | --------------------------------------------------------- |
+| [Set start and finish dates](#set-start-and-finish-dates) | How to set start and finish dates, and how to change them |
+| [Scheduling mode](#scheduling-mode) | Enabling manual scheduling and what it does |
+| [Warning and information banners](#warning-and-information-banner) | What the different warning and information banners mean |
+
+## Set start and finish dates
+
+You can change the start and finish dates of work packages opening the date picker.
+
+![standard-date-picker](standard-date-picker.png)
+
+1. [Manual scheduling](#scheduling-mode) checkbox
+2. Start and finish date input fields
+3. Mini calendars for date range preview
+4. Save and cancel buttons
+
+You can open the date picker for a work package from a number of different places:
+
+- By clicking on the date field in the work package [details view](../../work-packages/work-package-views/#work-package-full-screen-view)
+- By clicking the the date field in the work pacakge [split screen view](../../work-packages/work-package-views/#work-package-split-screen-view) (from any other view, including [notification center](../../notifications), [team planner](../../team-planner/), [boards](../../agile-boards)...)
+- By clicking the start or finish date fields in [list view](../../work-packages/work-package-views/#work-package-list-view)
+
+
+### Using the date picker
+
+You can enter dates either by typing them in into the start and finish date fields or by clicking on individual dates in the mini calendar below.
+
+> **Note**: Typed dates need to be in the standard ISO 8601 format: **YYYY-MM-DD** (so 12 October 2022 would be 2022-10-12).
+>
+> They will nevertheless be displayed in your desired format (usually depending by your region or language).
+
+You can also click on the **Today** link below the start and finish date fields to use today's date.
+
+A more intuitive way to select start and end dates is to simply click on two different dates in the mini calendars below. Two calendar months are displayed to give you more visibility.
+
+Start by clicking on a start date. This will enter the selected date as the start date, mark it with a dark color on the calendar and move the focus automatically to the finish date. Hovering on different finish dates will give you a preview of which dates are included if you click. Once you have decided on a finish date, click on it to select it. This will enter the finish date in the date field and mark the end date with another dark color.
+
+ To confirm the selected dates, click on the **Save** button. The green message on top of the work package indicates a successful update.
+
+![successful-update](successful-update.png)
+
+To clear a date field, simply click on the **clear icon** ("×") icon when the field is in focus.
+
+![clear-date-field](clear-date-field.png)
+
+Date changes are documented in the work package [Activity](../../../getting-started/work-packages-introduction/#activity-of-work-packages).
+
+### Advanced functionality
+
+- The date picker allows you to pick start and finish dates in the opposite order. Clicking on a start date and then moving backwards to click on an earlier date will then use that first date as the finish date and the second (earlier) date as the start date.
+
+- Once you have selected your start and finish dates, you can adjust either field without resetting the other by clicking on a new date near the previously selected date. This, however, depends on which date field is in focus.
+
+ For example, clicking on a new start date that is 2 days earlier when the start date field is in focus simply replaces the original start date (conserving the finish date). However, clicking on that same date when the finish date field is in focus clears the finish date and uses the clicked date as the new start date. A second click then allows to select the new finish date.
+
+### One-day events
+
+If you want the work package to start and end on the same date, simply click the same date twice.
+
+![one-day-event](one-day-event.png)
+
+Work packages with *only* a start date or only a finish date are automatically considered as one-day events.
+
+Certain work package types (such as Milestones) can only span one day and thus only have one date field:
+
+![milestone-datepicker](milestone-datepicker.png)
+
+
+
+## Scheduling mode
+
+### Manual scheduling
+
+![manual-scheduling-checkbox](manual-scheduling-checkbox.png)
+
+Checking "Manual scheduling" enables [manual scheduling mode](../../gantt-chart/scheduling#manual-scheduling-mode) for the work package. This ignores work package relations such that you're able to select any start and end dates, even ones that would normally be restricted due to follows/proceeds relationships.
+
+Manual scheduling also decouples the start and end dates of parent and children work packages. This means that the dates of parents are no longer constrained by those of the children, and children can be scheduled outside of the range of parent work packages.
+
+Manual scheduling can be useful when you need to anchor a work package on fixed dates, for example because the dates of preceeding or following work packages are not yet known.
+
+## Information and warning banners
+
+OpenProject 12.2 introduced helpful banners to give you important contextual information when changing dates on work packages with [relations](../../work-packages/work-package-relations-hierarchies).
+
+Information banners have a blue background and display information that is helpful not not critical. Warning banners have an orange background and display information that is critical (with potentially larger consequences to project scheduling).
+
+There are four possible banners:
+
+#### Automatically scheduled
+
+![banner-automatically-scheduled](banner-automatically-scheduled.png)
+
+This information banner is displayed when the dates of the current work package are derived from relations and cannot therefore be modified. This is the case of parent work packages whose start and finish dates are derived from the earliest and latest child work packages respectively.
+
+It is nevertheless possible to input specific start and end dates by enabling manual scheduling (and ignoring relations).
+
+### Available start date and finish dates limited by relations.
+
+![banner-dates-limited](banner-dates-limited.png)
+
+This information banner is displayed when certain date ranges are disabled due to constraints imposed by follows/preceeds relations. For example, a work packages following another one cannot be scheduled before the finish date of the the preceeding one.
+
+### Manually scheduled, relations ignored
+
+![banner-manual-relations-ignored](banner-manual-relations-ignored.png)
+
+This warning banner is displayed when you enable manual scheduling on work packages that have follows/preceeds or parent/child relations, which are now ignored.
+
+This banner is _not_ displayed when manual scheduling is enabled on work packages without relations.
+
+### Other work packages affected
+
+![banner-other-workpackages-affected](banner-other-workpackages-affected.png)
+
+This warning banner is displayed on work packages whose start and end dates affect those of other related work packages. For example, when changing the finish date can change the start date of the following work package and/or the finish date of a parent.
+
+**Info**: When both an information and a warning banner are applicable to a work package, only the more important warning banner is displayed.
+
+### Show Relations button
+
+![banner-show-relations-button](banner-show-relations-button.png)
+
+The information and warning banners also feature a **Show Relations** button. Clicking on this will open a new tab that displays work packages with direct relations to the current work package in [Gantt view](../../gantt-chart), in hierarchy mode.
+
+> **Info**: This preview is intended to give a quick overview of only _direct_ relations that might affect scheduling options for the current work package. It does not show second-level relations (and above). To get a full overview, please use the project work package [list view](../../work-packages/work-package-views/#work-package-list-view) or [Gantt view](../../gantt-chart) with your desired [filter/view configuration](../../work-packages/work-package-table-configuration/).
+
diff --git a/docs/user-guide/work-packages/set-change-dates/banner-automatically-scheduled.png b/docs/user-guide/work-packages/set-change-dates/banner-automatically-scheduled.png
new file mode 100644
index 00000000000..e43d0ea9654
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/banner-automatically-scheduled.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/banner-dates-limited.png b/docs/user-guide/work-packages/set-change-dates/banner-dates-limited.png
new file mode 100644
index 00000000000..65576de45ed
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/banner-dates-limited.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/banner-manual-relations-ignored.png b/docs/user-guide/work-packages/set-change-dates/banner-manual-relations-ignored.png
new file mode 100644
index 00000000000..c2b5c06f83a
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/banner-manual-relations-ignored.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/banner-other-workpackages-affected.png b/docs/user-guide/work-packages/set-change-dates/banner-other-workpackages-affected.png
new file mode 100644
index 00000000000..9e28fd65db1
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/banner-other-workpackages-affected.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/banner-show-relations-button.png b/docs/user-guide/work-packages/set-change-dates/banner-show-relations-button.png
new file mode 100644
index 00000000000..52e36be6a2c
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/banner-show-relations-button.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/clear-date-field.png b/docs/user-guide/work-packages/set-change-dates/clear-date-field.png
new file mode 100644
index 00000000000..ec41dee67d4
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/clear-date-field.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/manual-scheduling-checkbox.png b/docs/user-guide/work-packages/set-change-dates/manual-scheduling-checkbox.png
new file mode 100644
index 00000000000..943e9feed32
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/manual-scheduling-checkbox.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/milestone-datepicker.png b/docs/user-guide/work-packages/set-change-dates/milestone-datepicker.png
new file mode 100644
index 00000000000..70b8acae74b
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/milestone-datepicker.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/one-day-event.png b/docs/user-guide/work-packages/set-change-dates/one-day-event.png
new file mode 100644
index 00000000000..76c4cf425c7
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/one-day-event.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/standard-date-picker.png b/docs/user-guide/work-packages/set-change-dates/standard-date-picker.png
new file mode 100644
index 00000000000..77676f84333
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/standard-date-picker.png differ
diff --git a/docs/user-guide/work-packages/set-change-dates/successful-update.png b/docs/user-guide/work-packages/set-change-dates/successful-update.png
new file mode 100644
index 00000000000..0cb995b4b4c
Binary files /dev/null and b/docs/user-guide/work-packages/set-change-dates/successful-update.png differ