Content
View differences
Updated by Mir Bhatia about 17 hours ago
**Context**
* Since the current workflow table uses checkboxes, we need a "Save" action on the page.
* If the workflow table is particularly elaborate, the Save button may not be visible to the user
* Currently, if the user changes role selection without saving the page, they will lose their changes. This is not ideal.
**Acceptance criteria**
* The Save button is placed in a fixed position at the bottom of the screen (see [Figma mockups](https://www.figma.com/design/LsJmLVlm0Nqrq32xMeFq9P/Workflow--new-?node-id=127-4338&t=KAroZKlUC3DhTV44-4) for margin/spacings).
* If the user tries to change the role or tab selection when there are unsaved changes, show a "Save changes before continuing?" dialog
* Title: "Save changes before continuing?"
* Text: "You are about to leave this page but you have unsaved changes. Would you like to save them before continuing?"
* Actions:
* Ignore changes (danger)
* Save changes and continue (primary)
**Technical notes**
* If the user clicks 'Save changes and continue', the form must first be saved/submitted before changing role scope
**Permissions and visibility considerations**
* _None_
**Translation considerations**
* _\-_
**Out of scope**
* <br>
* Since the current workflow table uses checkboxes, we need a "Save" action on the page.
* If the workflow table is particularly elaborate, the Save button may not be visible to the user
* Currently, if the user changes role selection without saving the page, they will lose their changes. This is not ideal.
**Acceptance criteria**
* The Save button is placed in a fixed position at the bottom of the screen (see [Figma mockups](https://www.figma.com/design/LsJmLVlm0Nqrq32xMeFq9P/Workflow--new-?node-id=127-4338&t=KAroZKlUC3DhTV44-4) for margin/spacings).
* If the user tries to change the role or tab
* Title: "Save changes before continuing?"
* Text: "You are about to leave this page but you have unsaved changes. Would you like to save them before continuing?"
* Actions:
* Ignore changes (danger)
* Save changes and continue (primary)
**Technical notes**
* If the user clicks 'Save changes and continue', the form must first be saved/submitted before changing role scope
**Permissions and visibility considerations**
* _None_
**Translation considerations**
* _\-_
**Out of scope**
* <br>