Content
View differences
Updated by Parimal Satyal about 8 hours ago
**As** an OpenProject admin that is new to the workflow configuration
**I want to** select statuses relevant to my workflow
**so that** I am not overwhelmed by statuses that are irrelevant to me
**Acceptance criteria**
* When opening a workflow for a type, the workflow table is showing only statuses that are used
* "Show all statuses" checkbox at the top is removed
* There is a primary button `Statuses` `+ Status` in the sub-header toolbar to add/remove add an additional statuses status to the workflow table.
* Clicking on the this button will display allow selection of a dialog with just one input:
* Title: "Statuses"
* Label: "Statuses enabled for this type"
* The field allows you to add/remove types (similar to status not currently in Admin → Backlogs) with chips
* Use the same autocompleter use, and add it to add/remove types as on that page
* Caption: "Add or remove statuses you would like to associate with this type. Removing a status will also delete the workflow associated with it."
* Clicking on "Apply" will update the workflow table with the new list of statuses
(without saving)
* If statuses were removed, a DangerDialog (simple warning, not confirmation) is displayed after clicking 'Apply':
* Title: "Remove {n} statuses?"
* Text: "Removing these statuses will make them unavailable to this type and delete existing workflows. Are you sure you want to proceed?"
* Buttons:
* Close (secondary)
* Remove (danger)
* All checkboxes of the added status are active (unsaved)
* When the page is saved with one status completely unused, it is removed
* "Show all statuses" checkbox at the top is removed
<br>
**I want to** select statuses relevant to my workflow
**so that** I am not overwhelmed by statuses that are irrelevant to me
**Acceptance criteria**
* When opening a workflow for a type, the workflow table is showing only statuses that are used
* "Show all statuses" checkbox at the top is removed
* There is a primary button `Statuses`
* Clicking on the
* Title: "Statuses"
* Label: "Statuses enabled for this type"
* The field allows you to add/remove types (similar to
* Use the same autocompleter
* Caption: "Add or remove statuses you would like to associate with this type. Removing a status will also delete the workflow associated with it."
* Clicking on "Apply" will update the workflow table with the new list of statuses
* Title: "Remove {n} statuses?"
* Text: "Removing these statuses will make them unavailable to this type and delete existing workflows. Are you sure you want to proceed?"
* Buttons:
* Close (secondary)
* Remove (danger)
* All checkboxes of the added status are active (unsaved)
* When the page is saved with one status completely unused, it
* &quot;Show all statuses&quot; checkbox at the top
<br>