# Feature OP-9496 - Calendar: Add ability to drag-and-drop and extend work packages; add new or existing work packages

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-9496

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** a member of a project,  
**I want to** be able to edit start/end dates of work packages and add/create new work packages directly on the existing calendar module,   
**so that** I can adjust them visually, whilst having an overview of other work packages scheduling for the same time frame (week/month).

### **Notes**

This work package has been split from Epic <mention class="mention" data-id="39784" data-type="work_package" data-text="#39784">\#39784</mention> ("Team planner"). Development work done on that feature set will surely also allow us to carry some features (drag-and-drop and extend work package strips) to the calendar too. Nevertheless, this is not an *inherent* feature of the team planner.

### **Acceptance criteria**

**Changes to the existing calendar module**

In either month or week view on the existing calendar module:

  - The work package "strips" have been upgraded with new functionalities and behaviour:
    
      - The ability to drag them to change start/end dates (keeping the duration the same)
      - Extend left and right edges to change start/end dates
      - A click opens the work package in a split screen view

  - Right-clicking on a particular date displays a drop-down menu with two options (the behaviour is identical to the team planner):
    
      - Create new
      - Add existing

  - Each calendar date has four possible states, each visually distinct form one another:
    
      - Inactive (not part of the current month), with a grey background
      - Active (part of the current month), with a white (transparent) background 
      - Today, highlighted with a yellow background
      - Hover, with a light blue background

### Visuals

*Calendar view (monthly)*

<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/23699/content"></div></figure>

*Right-click on a particular day*

<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/23700/content"></div></figure>

### Figma

Figma link: <https://www.figma.com/file/409d6qR685SzZLXez4TPl7/?node-id=786%3A39157>
