# Feature SPPM-148 - Date picker to edit phases and phase gates of a project life cycle

Project: Stream Project Portfolio Management
Status: closed
URL: https://community.openproject.org/work_packages/SPPM-148

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 16.1.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| SPPM-187 | Bug | Start date of the next phase is kept even if the dates of the previous phase changed | closed |  | 16.1.0 |  | Modules and project features / Project overview, Modules and project features / Project lifecyle - phases and gates |
| SPPM-184 | Bug | Start/finish date field not highlighted in phase date picker if both fields are set | closed |  | 16.1.0 |  | Modules and project features / Project lifecyle - phases and gates |
| SPPM-191 | Bug | Clear button on start date visible even after date is cleared | rejected | Attila Dombi | 16.1.0 |  | Modules and project features / Project overview, Modules and project features / Project lifecyle - phases and gates |
| SPPM-189 | Bug | Newly added non-working day is not reflected on the phase's start and finish dates | rejected |  | 16.1.0 |  | Modules and project features / Project overview, Modules and project features / Project lifecyle - phases and gates |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Project overview, Modules and project features / Project lifecyle - phases and gates |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/4Z950sfYbceOqUN6sFV7Mr/Project-Portfolios%3A-Stages-and-Gates?node-id=2180-33209&t=Yb0MmFha91URNqBA-4 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers | Attila Dombi |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a project portfolio manager  
**I want to** enter and modify the finish dates of phases in a date picker  
**so that** I can share an updated project schedule with my team.

<br>

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/356057/content">

**Acceptance criteria**

  - The date picker is triggered by clicking on the phase's dates (or placeholders for it)  in the sidemenu of the overview page
    
      - The functionality is indicated to the user via a narrow border around the dates that is displayed on hover similar to how it is done for the work package files. If the user lacks the permission to edit, that border is not displayed.
    
      - The modal that existed before is removed together with the edit icon.

  - Start date in only active for the first phase. For phases that have a predecessor the start date is inactive.
    
      - If the predecessor has no finish date set yet from which the start date of the currently edited phase can be deduced, the start date is editable.

  - Saving the modal transparently reloads all the phases in the sidemenu as their dates might have been updated by automatic scheduling (<mention class="mention" data-id="59180" data-type="work_package" data-text="###59180">\#\#\#59180</mention>)

  - Disable invalid dates
    
      - Finish date that are before the start date
    
      - Non-working days
    
      - Add validation that no start and end date are on a Non-Working day

**Technical notes**

  - To be prepared to add additional features
    
      - Duration
    
      - Include non-working days
    
      - Manual scheduling mode
    
      - Showing the predecessors and successors

**Permissions and visibility considerations**

  - Requires the permission "Edit project phases".
