Closed JoelProminic closed 8 months ago
When a DocumentationForm document in Getting Started is open in read mode, the "Cancel" button shoudl be "Back". In edit mode, it should remain as "Cancel".
I have pushed changes for that part. We can discuss over next meeting about behaviour of "Cancel"/"Back" button.
I didn't test this update when pushing out v0.1.8. I see this behavior currently:
ui_documentation_editable | Edit Mode | Expected | Actual |
---|---|---|---|
false | No | "Back", return to list | Confirmed |
true | No | "Back" return to list | BUG: this is currently Cancel |
true | Yes | "Cancel", return to read-only mode | Button is "Cancel" but returns to list currently |
UPDATE: After discussion, we would like the Cancel button in Edit Mode to return to read-only mode
Scenario has been applied.
When a DocumentationForm document in Getting Started is open in read mode, the "Cancel" button shoudl be "Back". In edit mode, it should remain as "Cancel".
TODO: Should the button in edit mode return to read-only mode, or return to the article list (current behavior? We can discuss this briefly tomorrow.