Skip to content

Conversation

@zaelgohary
Copy link
Contributor

@zaelgohary zaelgohary commented Jun 3, 2025

Changes

  • Connectivity Checking: Verifies internet connection before network operations.

  • Timeout Handling:

    • User info retrieval: 1-minute timeout.
    • PKid document retrieval: 1-minute timeout per operation.
    • Overall account recovery: 2-minute timeout.
  • User-Friendly Error Messages:

    • "No internet connection. Please check your network."
    • "Login timed out. Please check your network connection."
    • "Account recovery timed out. Please check your network connection."
  • Proper Error Logging: All network errors are logged with context for debugging.

  • UI Alignment: Error messages now properly align with form fields.

Related Issues

Tested Scenarios

  • Test with no internet connection
  • Test with slow/unstable network connections
  • Test timeout scenarios by simulating network delays
  • Verify error message alignment in UI
  • Test that existing functionality remains unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants