New option: save draft when editing content

Description

When editing or creating a item, it would be usefull to save a draft (without publishing it of course). This creates the option to work on a item whenever the user wants and save a draft to finish the item another time.

The draft should be saved to a separate collection. When a draft is available, it is used when editing the content item instead of the live version.

  • A new item does not have an ID and will be saved without ID. The draft will appear when you click "Create new" - "Article" (if it's the same content type and the same user). So you can have 1 draft per content type per user

  • An existing item will be saved by ID. When opening this item the draft will appear, also when other user opens it.

  • File uploads are not supported (maybe the other fields can be saved)

  • There must be a message on top: "You are editing a draft, last updated on <datetime> by <user>"

  • When click cancel when a draft is available the user needs to confirm the cancel with a bootstrap model confirmation with a button "Discard draft" (deletes the draft) and "Keep draft"

  • After click on Save the draft will be deleted

  • The draft needs to be auto-saved every minute

Deployment actions

None

Technical tasks

None

Attachments

1

Activity

Pro tip: press M to comment

Marcel 
April 18, 2016 at 10:51 AM

A reminder to assign this issue.

·

Marcel 
April 8, 2016 at 1:24 PM

Issue has status 'Code review' but is not assigned, linked or in a team backlog, this way the issue will keep pending and not change. Can you give this issue to one of the PO's for a team backlog?

·

Marijn Otte 
September 30, 2015 at 11:10 AM

URL new item: /admin/content/new?type=article
URL existing item: /admin/content/05f086edd53b3368a5634295c8d3d090

·
Done

Details

Assignee

Client

Fix versions

OTM informatie

Created October 31, 2014 at 10:10 AM
Updated June 1, 2023 at 11:45 AM
Resolved December 29, 2015 at 12:08 PM