Content
View differences
Updated by Parimal Satyal over 4 years ago
**As** an Admin of an OpenProject instance
**I want to** add manually configure non-working general non working days that affect affects all users, in all projects in the instance my employees
**so that** work packages can be planned with more precision, with any planning of tasks around the specific dates that correspond to actual working days are clear and have a proper estimation.
### **Acceptance criteria:**
There are is two ways of adding non-working days depending on the calendar view in the "Working days" settings screen:
* **Monthly view:** user can click on a single day or click and drag on multiple days to add one of multiple non-working days of a specific month. Once the mouse is released, released a dialog with a text field appears to allow the user to name the day/s.
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27756/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27758/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27759/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27760/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27757/content"></div></figure>
* **Yearly view:** This is a list of all the non-working days (excluding weekends) of a single year. In this case, case at the end of the list there is a persistent button (always visible and not scrollable) to include new non-working days that opens a dialog with a name text field and a singe date picker (which allows single date or multiple date selection with two clicks for a date range).
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27761/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27763/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27762/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27764/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27765/content"></div></figure>
###
### Other cases:
You can edit the added non-working day/s by clicking on it on any of the views. To dlete For deleting a day/s, day/s on a delete icon is hover state there will always displayed on hover. appear a bin icon:
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27768/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27767/content"></div></figure>
In the case of the admin creating a day on top of a day that has already been added, added the last addition adding will always override the previous.
oldest version. In the case of a single day breaking a multiple day selection, this selection will only affect the specific day. _(<mention class="mention" data-id="72512" data-type="user" data-text="@Marc Alcobé">@Marc Alcobé</mention>, this bit might need clarification)._
### Figma link:
https://www.figma.com/file/SMzHAQWcY9k0PkTEKd5UQn/?node-id=0%3A1
**I want to**
**so that** work packages can be planned with more precision, with
### **Acceptance criteria:**
There are
* **Monthly view:** user can click on a single day or click and drag on multiple days to add one of multiple non-working days of a specific month. Once the mouse is released,
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27756/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27758/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27759/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27760/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27757/content"></div></figure>
* **Yearly view:** This is a list of all the non-working days (excluding weekends) of a single year. In this case,
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27761/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27763/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27762/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27764/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27765/content"></div></figure>
###
### Other cases:
You can edit the added non-working day/s by clicking on it on any of the views. To dlete
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27768/content"></div></figure>
<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/27767/content"></div></figure>
In the case of the admin creating a day on top of a day that has already been added,
https://www.figma.com/file/SMzHAQWcY9k0PkTEKd5UQn/?node-id=0%3A1