Content
View differences
Updated by Parimal Satyal almost 4 years ago
**As** a project admin
**I want to** define the working days of the week for my OpenProject instance
**so that** weekends are correctly displayed and taken into account in all modules that involve dates (date picker, GANTT, team planner, calendar...).
**Acceptance criteria**
* The icon for this entry is the existing "**icon-calendar**" (visible in the sidebar and on the overview pages).
* The page has a title: "Working days"
* There is an orange warning toast that is permanently visible:
* With icon 'warning'
* Text: "Changing which days of the week are considered working days can affect the start and finish days of all work packages in all projects in this instance."
* Text:
* **Define the working days of the week**
Non-working days are skipped when scheduling work packages and are excluded when calculating duration. This These can be overriden at a work-package level.
* This is followed by the horizontal row of checkboxes, one for each day of the week.
* Monday–Friday are selected by default.
* Saturday and Sunday are unselected by default.
* **Mobile:** On smaller screens, the list become vertical, with only one element per line.
* A save button is present exists and works like on any every other settings page, except:
page.
**Added 18 August:**
* If there was a change in the selection of working days (a new day checked or an old day unchecked), clicking on Save will display a modal dialogue:
* Header title: "Change working days"
* with divider under header
* Modal text:
* "Changing which days of the week are considered working days can affect the start and finish days of all work packages in all projects in this instance.
Are you sure you want to to continue?"
* Primary button (danger): "Change working days" (same string as header)
* Secondary button (white): Cancel
* When an admin makes a change to which dates are considered non-working days (checking or unchecking one or several days), they are should be warned that since this is an instance-level setting that might (and almost certainly will) affect the scheduling of work packages in all projects. This warning, although redundant with the warning toast already on the page, is important has to make this potential consequence abundantly clear, since:
* the potential admin cannot preview these consequences to scheduling of a this change abundantly clear, since
* the change is not easily undoable, and lots has the potential of users are likely to suddently get trigger a large number of notifications.
**Visuals**
_Admin settings to configure working days notifications for a large number of the week:_
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38205/content">
_Modal dialogue askings users
* **The product team are currently working on specifying how to confirm the change_ display this warning.**
**Visuals**
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38206/content"> src="/api/v3/attachments/36808/content">
**Figma**
https://www.figma.com/file/SMzHAQWcY9k0PkTEKd5UQn/Duration-and-Non-Working-Days?node-id=1667%3A46400
**I want to** define the working days of the week for my OpenProject instance
**so that** weekends are correctly displayed and taken into account in all modules that involve dates (date picker, GANTT, team planner, calendar...).
**Acceptance criteria**
* The icon for this entry is the existing "**icon-calendar**" (visible in the sidebar and on the overview pages).
* The page has a title: "Working days"
* There is an orange warning toast that is permanently visible:
* With icon 'warning'
* Text: "Changing which days of the week are considered working days can affect the start and finish days of all work packages in all projects in this instance."
* Text:
* **Define the working days of the week**
Non-working days are skipped when scheduling work packages and are excluded when calculating duration. This
* This is followed by the horizontal row of checkboxes, one for each day of the week.
* Monday–Friday are selected by default.
* Saturday and Sunday are unselected by default.
* **Mobile:** On smaller screens, the list become vertical, with only one element per line.
* A save button is present
**Added 18 August:**
* Header title: "Change working days"
* with divider under header
* Modal text:
* "Changing which days of the week are considered working days can affect the start and finish days of all work packages in all projects in this instance.
Are you sure you want to to continue?"
* Primary button (danger): "Change working days" (same string as header)
* Secondary button (white): Cancel
* When an admin makes a change to which dates are considered non-working days (checking or unchecking one or several days), they are
*
*
**Visuals**
_Admin settings to configure working days
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38205/content">
_Modal dialogue askings users
* **The product team are currently working on specifying how
**Figma**
https://www.figma.com/file/SMzHAQWcY9k0PkTEKd5UQn/Duration-and-Non-Working-Days?node-id=1667%3A46400