feat: add retry buttons for recoverable error states - #321
Open
AlonsoFi wants to merge 1 commit into
Open
Conversation
Implements retry actions for account loading failures, verification
status check failures, and transaction polling failures per issue.
- wallet-states.ts: add "account-error" state with "Try Again" action
- useWalletPageGate: expose retryAccountLoad from useStellarAccount;
surface "account-error" when Stellar account fetch fails with a
non-funding error (e.g. network timeout)
- WalletStatePanel: add "account-error" icon (red AlertCircle),
onRetry prop wired to the primary action button
- VerificationStatus: add error state; on fetch failure show an error
card with a "Try Again" button instead of silently falling back to NONE
- projects/[id]/page: add verificationError state + retryVerification
callback; show inline Retry button in the sidebar verification card;
pass onRetry to WalletStatePanel in the reviews gate
- All pages using WalletStatePanel (admin, profile, verify, reviews,
edit, new) now forward onRetry={gate.retryAccountLoad}
Acceptance criteria covered:
- Recoverable error states expose retry actions
- Retry resets loading/error state before re-fetching
- No duplicate submissions (retry reuses existing ref, not a new call)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@AlonsoFi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #266
Implements retry actions for account loading failures, verification status check failures, and transaction polling failures per issue.
Acceptance criteria covered: