You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IssueActions and MilestoneActions never read WalletContext's own error state, discarding a specific Freighter failure reason in favor of a generic message #235
src/context/WalletContext.tsx#connect already computes a specific, useful error and
stores it in its own error state — e.g. "Wallet access was not granted.",
"Unable to read wallet address.", or a Freighter-SDK-provided message.
src/app/issues/[id]/IssueActions.tsx#withWallet and src/app/milestones/MilestoneActions.tsx#handleFund/#handleDeposit all call connect()
but destructure only address, connect, connecting from useWallet() — never error:
// IssueActions.tsxconst{ address, connect, connecting }=useWallet();
...
constwalletAddress=address??(awaitconnect());if(!walletAddress){setError("Connect a Stellar wallet to continue.");return;}
Since WalletContext#connect catches its own failures internally and resolves to null
rather than rejecting, await connect() here never throws — it simply returns null on
failure, and each of these components' own generic fallback message
("Connect a Stellar wallet to continue.", "Connect a Stellar wallet to fund this
milestone.", "Connect a Stellar wallet to deposit.") is shown instead, regardless of why the connection actually failed. WalletContext's own, more specific error — the
one piece of state built specifically to explain the failure (extension not installed,
access denied, address unreadable) — is computed, stored, and then never read by any of
the three components that trigger the connection in the first place.
Suggested fix: destructure error from useWallet() in each of these components and
prefer it over the generic fallback message when it's set immediately after a failed connect() call, so users see the specific reason instead of a one-size-fits-all
prompt.
Congratulations, @presidojay1! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @presidojay1: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
😎 @presidojay1: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.
Activity
M2u0i0z commentedon Aug 24, 2026
@M2u0i0z has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @M2u0i0z to this issue.
Elizabeth-dev270 commentedon Aug 24, 2026
@Elizabeth-dev270 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Elizabeth-dev270 to this issue.
presidojay1 commentedon Aug 24, 2026
@presidojay1 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @presidojay1 to this issue.
damilare0813 commentedon Aug 24, 2026
@damilare0813 has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @damilare0813 to this issue.
akinboyewaSamson commentedon Aug 24, 2026
@akinboyewaSamson has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @akinboyewaSamson to this issue.
Yasir-TechGuy commentedon Aug 24, 2026
@Yasir-TechGuy has applied to work on this issue as part of the Stellar Wave Program's 8th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Yasir-TechGuy to this issue.
drips-wave commentedon Aug 24, 2026
Congratulations, @presidojay1! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on August 31, 2026.
🧑💻 @presidojay1: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
Warning
When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
fix(wallet): expose getError() for reading connect()'s failure reason…
fix(issue-actions): announce async results to screen readers, surface…
fix(milestone-actions): label deposit input, announce results, surfac…
drips-wave commentedon Aug 25, 2026
This issue has been completed by @presidojay1 as part of the Stellar Wave Program's 8th Wave 🥳
😎 @presidojay1: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.