-
Notifications
You must be signed in to change notification settings - Fork 36
fix: show rejection alert in case the user rejects the connection #502
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
Conversation
|
|
Claude finished @ignaciosantise's task —— View job Code Review CompleteReviewing PR #502 with focus on code quality, security, and best practices. Issues Found1. Breaking Change: Removed
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the retry logic in the ConnectingView component by moving the automatic QR code retry mechanism from executing immediately in the catch block to executing after error modal display and event tracking. The change aims to improve user experience by showing error feedback before attempting automatic retries.
Key changes:
- Moved QR code retry logic from the catch block (before error handling) to after the error modal display and event tracking
- Removed the
WcController.clearUri()call that was previously in the catch block
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
@claude review |
|
Claude finished @ignaciosantise's task —— View job 🔄 Incremental Review: Code Review CompleteReviewing PR #502 with focus on code quality, security, and best practices. Issues Found1. Breaking Change: Removed
|



This pull request refactors the retry logic in the
ConnectingViewcomponent to improve error handling and code clarity. The main change is moving the QR code retry logic from the error catch block to after the error modal is displayed, ensuring that retries are only attempted after user feedback.Error handling and retry logic improvements:
WcController.clearUri()and the previous retry logic from the catch block, streamlining error handling.Note
Refactors ConnectingView to clear the URI before reconnect and run QR retries after showing errors, and bumps hono to 4.10.3.
ConnectingView:wcURI viaWcController.clearUri()before initiating reconnect when retrying or pairing expired.clearUrifromonRetryand catch block; move QR retry to execute after error notification and event tracking.isAllowedRetrywith updated retry timestamp handling.overridesentry forhono4.10.3inexamples/expo-multichain/package.jsonand update lockfile.Written by Cursor Bugbot for commit b73fdb4. This will update automatically on new commits. Configure here.