b04rd / flask_reddit

Reddit clone in flask + python. Deployed w/ nginx + gunicorn. View site:
http://reddit.lucasou.com
MIT License
1 stars 2 forks source link

Disappearing comments via mobile connection #23

Closed telldanesaloca closed 8 years ago

telldanesaloca commented 8 years ago

When user has not very good mobile connection, some comments disappear. May be it's good idea to add exeption handling for timeouts, lost connection, network change etc. Solution like: "This comment quote hasn't been send. Try again?" would be perfect.

yl3dy commented 8 years ago

Possible solution: sane error checking after AJAX post + issue a message when sending hasn't succeeded, then try to send several times (message via JS on bootstrap alert). Likely affects also #21, as it leads to incorrect DOM object names.