younginnovations / aidstream-old

[Deprecated] AidStream is a platform for small and medium size NGOs to publish their aid data in IATI standard.
http://aidstream.org
3 stars 13 forks source link

Provide "leave page?" confirmation on unsaved data #126

Closed rolfkleef closed 8 years ago

rolfkleef commented 8 years ago

It is becoming a good practice to warn a user when navigating away from a form with information added to it (e.g. Facebook: "You haven't finished your post yet. Do you want to leave without finishing?" with "Stay on this page" and "Leave this page" as buttons)

Having witnessed someone loose hard work filling in a long form and then clicking another information element in the right hand column rather than "Save", I think it would be good to add this feature to AidStream as well.

Alternatively: Github actually seems to save your input, so returning to for instance the "New issue" page after clicking away will show your earlier input (but without any clue this is happening).

anjesh commented 8 years ago

Now the popup appears if there are unsaved changes in the form.

image

rolfkleef commented 8 years ago

thanks!