Content
View differences
Updated by Marc Alcobé over 3 years ago
The date picker for work packages were updated in versions 12.2 and 12.3. There are however other views in OpenProject where date pickers exist and that are currently implemented differently than on work packages.
This feature seeks to list all of these different views, and propose a standardised "date-only" date picker that looks and behaves the same as the date picker for work packages.
### Identified views
* **Log time** (from work package, from My Saved view, when editing previously logged time)
* **Log unit cost** (from work package, when editing previously logged unit cost)
* **Work package and project custom fields**
* **Meeting minutes**
* **Single non-working days** ...
### Date-only picker
The date-only picker is a variation of the date picker for work packages (described in <mention class="mention" data-id="42047" data-type="work_package" data-text="#42047">#42047</mention>):
* It doesn't have the scheduling or banner bits.
* It is otherwise the same as the simple date picker used in mobile.
* There is the option to add some additional input field on top of the date if needed.
* The toggle of "Working days only" is always active by default even if the user modify it and opens it again (no persistent status to avoid complexity).
* The logic and behaviour follows the current implementation in <mention class="mention" data-id="42047" data-type="work_package" data-text="#42047">#42047</mention>. picker.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/39634/content"> src="/api/v3/attachments/39321/content">
### Out of scope
* The fact that the currently used date picker (the default Flatpickr one), has week numbers whereas the "new" OP one does not. Some clients have requested this to be reinstated; this is being tracked in <mention class="mention" data-id="35329" data-type="work_package" data-text="#35329">#35329</mention>.
This feature seeks to list all of these different views, and propose a standardised "date-only" date picker that looks and behaves the same as the date picker for work packages.
### Identified views
* **Log time** (from work package, from My Saved view, when editing previously logged time)
* **Log unit cost** (from work package, when editing previously logged unit cost)
* **Work package and project custom fields**
* **Meeting minutes**
* **Single non-working days**
### Date-only picker
The date-only picker is a variation of the date picker for work packages (described in <mention class="mention" data-id="42047" data-type="work_package" data-text="#42047">#42047</mention>):
* It doesn't have the scheduling or banner bits.
* It is otherwise the same as the simple date picker used in mobile.
* There is the option to add some additional input field on top of the date if needed.
* The toggle of "Working days only" is always active by default even if the user modify it and opens it again (no persistent status to avoid complexity).
* The logic and behaviour follows the current implementation in <mention class="mention" data-id="42047" data-type="work_package" data-text="#42047">#42047</mention>.
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/39634/content">
### Out of scope
* The fact that the currently used date picker (the default Flatpickr one), has week numbers whereas the "new" OP one does not. Some clients have requested this to be reinstated; this is being tracked in <mention class="mention" data-id="35329" data-type="work_package" data-text="#35329">#35329</mention>.