Content
View differences
Updated by Parimal Satyal 12 days 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 Make the Save button is placed in a fixed position at to the bottom button of the screen (see [Figma mockups](https://www.figma.com/design/LsJmLVlm0Nqrq32xMeFq9P/Workflow--new-?node-id=127-4338&t=KAroZKlUC3DhTV44-4) for margin/spacings). page
* If the user tries to change the role 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 Save changes (danger) and continue (primary)
* Save Ignore changes and continue (primary) (danger)
**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
* If the user tries to change the role 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
* Save
**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>