Moonshine-IDE / Super.Human.Portal

Portal interface to show documentation for DominoVagrant and Super.Human.Installer
Other
0 stars 1 forks source link

Cancel/Back Button Updates for DocumentationForm #34

Closed JoelProminic closed 8 months ago

JoelProminic commented 12 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".

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.

piotrzarzycki21 commented 10 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.

JoelProminic commented 10 months ago

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

piotrzarzycki21 commented 10 months ago

Scenario has been applied.