Skip to content

[Feature} Add Loading Indicator for Authentication Actions #51

Description

@myselfsneha

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

Metadata

Metadata

Assignees

Labels

Gssoc25Label for issues that are part of GirlScript Summer of Code 2025 (GSSOC'25).Level 13 points for solving beginner issues in GSSOC'25enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions