pepyatka / pepyatka-html

HTML client for Pepyatka
MIT License
16 stars 25 forks source link

Display "Loading" icon when performing an action #195

Open smallq-git opened 9 years ago

smallq-git commented 9 years ago

Right now when user clicks an action button (edit, like, hide, etc) there's nothing indicating that the action is taking place. That could lead to unnecessary clicks and mistaken actions.

Frf used to have a spinning wheel displayed when action is being performed. That should be true for FreeFeed as well.

epicmonkey commented 9 years ago

Connected to https://github.com/pepyatka/pepyatka-html/issues/26

iAdramelk commented 9 years ago

It will be a good idea not only show spinner, but also to disable input fields and submit buttons on such requests to prevent second submit or content change after sending request.

epicmonkey commented 9 years ago

Animation for unfolding likes: https://github.com/pepyatka/pepyatka-html/commit/5b5b24fac83b24320dd63310fd65d77751f40b53. Animation for unfolding comments: https://github.com/pepyatka/pepyatka-html/commit/07db0f437a4c4db3e175e8c2663fbaf92978d853

smallq-git commented 9 years ago

Are we done with this or are there any other places where we still don't show the spinner?