# Epic OP-1802 - Inline editing in work packages list view

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-1802

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap |  |
| Date |  |
| Votes |  |
| List |  |
| Target versions | 6.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Relevance |  |

## Subitems

| ID | Type | Subject | Status | Assignee | Target versions | Project | Priority | Spent time |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| OP-2599 | Feature | [WP inline edit] Step 1: Use APIv3 as the WP table data source | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2601 | Feature | [WP inline edit] Step 2: Inline edit visible attribute: subject | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2602 | Feature | [WP inline edit] Step 3: Inline edit visible attribute: status, priority, version, category, assignee, responsible | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2603 | Feature | [WP inline edit] Step 4: Inline edit visible attribute: estimated time | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2604 | Feature | [WP inline edit] Step 5: Inline edit visible attribute: start/due date | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2606 | Feature | [WP inline edit] Step 8: Handle additional/erroneous fields | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2607 | Feature | [WP inline edit] Step 6: Inline edit visible attribute: type | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2608 | Feature | [WP inline edit] Step 7: Inline edit visible attribute: custom fields | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2609 | Feature | [WP inline edit] Step 9: Inline edit costs attribute: budget | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2610 | Feature | [WP inline edit] Step 10: Inline edit backlogs attribute: Remaining hours | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2613 | Feature | [WP inline edit] Step 11: Update table (filter results) after editing a work package | closed |  | 6.0.0 | OpenProject | High |  |
| OP-2630 | Feature | Add link to success message on work package update/create | closed |  | 6.0.0 | OpenProject | Medium |  |
| OP-2722 | Feature | [WP inline edit] Double click opens full screen view | closed |  | 6.0.0 | OpenProject | Medium |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Module |
| --- | --- | --- | --- | --- | --- | --- |
| OP-2619 | Bug | Improve performance of work_packages#index | closed |  | 5.0.16 |  |

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Alex Dik |
| Product manager |  |
| Feature Lead |  |
| Designer |  |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work | · Σ 0h |

## Description

**As an** OpenProject user  
**I want to** edit work packages in the list view  
**so that** I do not need to leave the page.

**Acceptance criteria**

  - Work package attributes to be supported
      - Textfield (e.g. Subject)
      - Integer (story points)
      - Floats (estimated time)
      - Single select (e.g. Assignee)
      - Bolean (e.g. custom field)
      - Dates (e.g. start date)
  - Auto refresh after saving a change
      - Example: After changing the work package status to “closed” the work package is removed when filtering for open work packages 
      - The page (e.g. work packages 40 to 60) is kept.
  - Mandatory fields
  - Changing the type of the work packages (e.g. from bug to feature):
      - Additional mandatory field may appear.
  - Workflows
      - There are workflows defined for each type and role. Example: only a developer may change the status of a bug to “tested”.
  - Changing the type:
      - Management of invalid status per type and role.
  - Error handling and error messages
      - Invalid value:
          - Example: entering a float in an integer field
          - Error handling: change can’t be saved. Fiedl is highlighted. There is an error message that helps the user to understand how to resolve the problem.
      - Mandatory fields are not shown: 
          - Example: The type change requestt has a mandatory field “requester”. The column “requester” is hidden.
          - Error handling: Saving the change does not work. There is an error message that helps the user to understand the reason. The column is added so the user can enter the mandatory field.
  - Success messages
  - Test automation
  - Inline editing is triggered by clicking on the field (or pressing enter when having tabbed to the element). There is no icon next to the attribute as there currently is within the full screen/split screen. this is due to not having enough space in the table to show an inline edit trigger icon for every element. Inline editable elements will only receive a border. 
      - Fields that are linked right now, lose their links (e.g. subject, author, …). On the long run, we might add a tooltip upon hovering over an attribute allowing to present additional actions to the user.

**Open**

  - Unclear how to cancel the edit action (ESC doesn’t work at the moment)
  - The seize of the row changes when edite a work package.
  - Work packages groups are not updated after changing an attribute.
  - Changing between list view, split view and fullscreen view.
  - When clicking in a text field the cursor should be at the position where the user clicked (subject should be a textfield in edito mode)
  - Misleading animation after changing the sorting criteria (there are some seconds waiting between the animation and the actual change)
