falling-fruit / falling-fruit-web

Mobile-friendly website for Falling Fruit
https://beta.fallingfruit.org
GNU General Public License v3.0
39 stars 23 forks source link

Improve UX of auth routes on connection failure #565

Open wbazant opened 1 week ago

wbazant commented 1 week ago

Follow-up to #562 about auth routes. Currently, if the request to log in fails due to bad connection (or something unforeseen), we don't handle it well. Instead, we want to show error messages:

We will localize these messages later.

If someone wants to work on this as a first issue - you can just do one form first, maybe start from the most important one or the one that seems easiest.

To test: open the form, and turn off the network in the browser tab or cut off internet access to your computer. Then submit each form, and make sure the error is understandable.

Also, try to use the form afterwards - log in correctly, log in with wrong password, etc. when the network is on. , and make sure it still works.

ahmedhalac commented 2 days ago

Hi @wbazant. Can you assign me on this?

wbazant commented 2 days ago

Assigned you the issue, thanks for taking it on! If you want it reviewed bit by bit - maybe one route first - feel free to create child issues, or you can take them on all at once.