# Feature OP-6477 - Auto-save edits of description field

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

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 12 |
| List | UX/UI |
| 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 | Modules and project features / Work packages |
| Feature Flag |  |
| Requires doc change | Yes |
| 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

Basically in all modern e-mail clients, there is an auto-save functionality which saves the draft of a message every X minutes. I think a similar functionality would be useful at least for the description fields of work packages and also for the wiki pages.

Currently if someone is editing the description of a work package, and something unexpected happens, she looses all the edits she made.

There are two workarounds (neither of which is user-friendly):

1.  Click on the tick icon after each section, then start editing the field again, or copy the content to the clipboard regularly;
2.  Create the text in an external text editor, and copy-and-paste the content if you are ready.

My suggestion is to auto-save the content of the field every X minutes, and store the the content in a &quot;draft&quot; field in the database. On each manual save, empty the draft. On each reload, check if the &quot;draft&quot; field has content, and if yes, display an icon which the user can click on. On click, copy the content of the draft to the field.

Of course auto-save should be configurable in the General settings.
