What's the problem this solves?
📝 Issue Description:
Currently, when a user performs an authentication-related action like signing in, resetting a password, or registering, there is no visual feedback (loading indicator) during the Firebase operation. This can make users feel the app is unresponsive or slow.
Proposed Solution
💡 Proposed Enhancement:
Add a loading spinner (CircularProgressIndicator) when:
Login button is pressed
Forgot password is submitted
Register button is tapped
Disable the buttons while the action is ongoing to avoid duplicate calls.
Alternatives Considered
🔧 Implementation Steps:
Add a bool isLoading = false; in the respective auth screens.
Set isLoading = true when the button is tapped, and false after the Firebase call completes.
Use a Stack or a modal to show a loading indicator on top of the form.
Additional Notes
🎯 Benefits:
Improved user experience
Avoids confusion during slow internet connections
More professional UI behavior
What's the problem this solves?
📝 Issue Description:
Currently, when a user performs an authentication-related action like signing in, resetting a password, or registering, there is no visual feedback (loading indicator) during the Firebase operation. This can make users feel the app is unresponsive or slow.
Proposed Solution
💡 Proposed Enhancement:
Add a loading spinner (CircularProgressIndicator) when:
Login button is pressed
Forgot password is submitted
Register button is tapped
Disable the buttons while the action is ongoing to avoid duplicate calls.
Alternatives Considered
🔧 Implementation Steps:
Add a bool isLoading = false; in the respective auth screens.
Set isLoading = true when the button is tapped, and false after the Firebase call completes.
Use a Stack or a modal to show a loading indicator on top of the form.
Additional Notes
🎯 Benefits:
Improved user experience
Avoids confusion during slow internet connections
More professional UI behavior