Configure the visibility of comment, assignee and deadline

Description

Current situation

The workflow bundle offers the fields Status, Comment, Assignee and Deadline when editing a content item.

Problem

Some clients don't use the comment, assignee and/or deadline fields.

In some statuses the comment, assignee and/or deadline fields are useless (for example a Published article will not have a deadline).

In some statuses the comment, assignee and/or deadline fields should be mandatory (for example to force an assignee for a draft article).

Solution

We want to make the fields configurable per status (as in the wireframe). For each status you can choose (for each field):
Optional --> the field will be available when the content has this state. (in the current situation it is always like this)
Required --> the field will be available when the content has this state, when saving the field is required to fill in (for the Assingee field this means that "Not assigned" is not allowed).
Disabled --> the field is not visible in this state

Note: when changing the status (click on a radio with a new status) the fields have to change dynamically and the "required" should be based on the new status.

Technical tasks

None

Deployment actions

None

Status

Assignee

Unassigned

Switches

None

Client

Marijn Otte

Fix versions

Configure