isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
305 stars 44 forks source link

Snippets : Improve saving button #1097

Open isontheline opened 5 months ago

isontheline commented 5 months ago

Feature description

From Vito by email :

Hi Arnaud,I just came across another potential UI improvement.  When saving a snippet, if you go back without saving you lose your updates.  I would suggest either reminding the user they have unsaved changes when they click on the back button or removing the save button and making the back button a trigger to ask the user if they would like to save or discard their changes.I think the reason I kept making this mistake is because when you select an “icon” there is no “save” button, the back button saves and takes you back.  Once you come back to the snippet screen the previous workflow is still in your head so you don’t even notice the save button.

image