-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PE-7636: feat(login) enhance authentication error handling #1974
base: dev
Are you sure you want to change the base?
PE-7636: feat(login) enhance authentication error handling #1974
Conversation
…vements - Added GraphQL exception handling in authentication methods to throw custom exceptions. - Renamed `AuthenticationFailedException` to `WrongPasswordException` for clarity. - Introduced new states in the login bloc for loading and success scenarios when a user already exists. - Updated the login process to handle Ethereum and Arweave wallets separately with improved error handling. - Enhanced the UI to show progress dialogs during login and added a button to copy logs for error reporting. - Updated tests to reflect changes in exception handling and new state management. - Minor formatting and code cleanup across various files.
|
1 similar comment
|
Visit the preview URL for this PR (updated for commit c7b43a3): https://ardrive-web--pr1974-pe-7636-improve-erro-4q6ugoo6.web.app (expires Fri, 21 Feb 2025 14:16:29 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0 |
- extend error handling for arconnect and metamask - update wander assets
- extend error handling for arconnect and metamask - update wander assets
- extend error handling for arconnect and metamask - update wander assets
…6-improve-error-feedback-on-login-page-for-graph-ql-or-network-issues]
This PR improves the login UX by showing appropriate messages for different login errors. Currently, the app always shows the 'wrong password' message for any error. Now, it will only show the wrong password message if indeed the password is wrong. For gateway related issues we're adding a new modal, same for unknown issues.
AuthenticationFailedException
toWrongPasswordException
for clarity.--- Releases ---
Android release: https://appdistribution.firebase.google.com/testerapps/1:305132849030:android:6cf0cd5ec064fad3ffce07/releases/026ju0acc3kv0