Feature proposal for a small UI change in order to provide a visual feedback to the user while an action (login, registration ...) is performed. I would like to present the "loading state" to the end user by updating the submit button style and label.
What is the current behavior?
Right now nothing happens on the UI once the form is submitted and the end user might think that the app is not working properly.
What is the new behavior?
Once the form is submitted and the internal state is "loading", the button gets styled with less opacity and its label changes to something else more meaningful.
Additional context
I only implemented this change for the EmailAuth component (sign_in, sign_up views), but if you like the idea I'll do the other forms as well.
What kind of change does this PR introduce?
Feature proposal for a small UI change in order to provide a visual feedback to the user while an action (login, registration ...) is performed. I would like to present the "loading state" to the end user by updating the submit button style and label.
What is the current behavior?
Right now nothing happens on the UI once the form is submitted and the end user might think that the app is not working properly.
What is the new behavior?
Once the form is submitted and the internal state is "loading", the button gets styled with less opacity and its label changes to something else more meaningful.
Additional context
I only implemented this change for the
EmailAuth
component (sign_in
,sign_up
views), but if you like the idea I'll do the other forms as well.