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
ConnectPanel.test.tsx never exercises the #283 wallet-address-mismatch warning banner #419
src/app/connect/ConnectPanel.tsx renders a "Wallet address mismatch" warning banner, added to close #283 ("Nothing reconciles WalletContext's connected address against AuthUser.stellarAddress"):
{user?.stellarAddress&&user.stellarAddress!==address&&(<divrole="alert"className="mt-3 rounded-lg bg-amber-50 px-4 py-3 text-sm text-amber-700 ring-1 ring-inset ring-amber-200"><pclassName="font-medium">Wallet address mismatch</p><pclassName="mt-1">
The connected wallet ({address.slice(0,4)}...{address.slice(-4)}) differs from
the payout address on file ({user.stellarAddress.slice(0,4)}...{user.stellarAddress.slice(-4)}).
Payouts will be sent to the address on file.
</p></div>)}
src/app/connect/ConnectPanel.test.tsx has a describe("ConnectPanel — the four connection-state combinations") block testing "neither connected," "GitHub only," "wallet only," and "both connected" — but "both connected" only asserts both signed-in states render with no CTAs; it never sets user.stellarAddress to a different value than the connected address to exercise this banner. There is no test anywhere in the file that renders this banner at all, nor one confirming it's absent when the addresses match.
Impact
This is the one piece of UI in the entire app whose whole job is warning a user their connected wallet won't receive their payouts — arguably the single highest-consequence message ConnectPanel can show, added specifically because #283 identified silent address drift as a real risk. It has zero coverage: a regression that broke the mismatch condition (e.g. an accidental === instead of !==, or dropping the user?.stellarAddress && guard causing a crash when stellarAddress is null) would ship undetected.
Suggested fix
Add test cases to ConnectPanel.test.tsx's "both connected" scenarios: one where user.stellarAddress differs from the connected address (banner renders, with both truncated addresses visible), and one where they match (banner is absent).
Hi, I’d be happy to take this on. The scope is clear, and I’m confident I can implement the required changes without introducing unnecessary complexity. I’ll handle the implementation, testing, and final verification so the PR is ready for review.
Congratulations, @davidjhonsonmate! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @davidjhonsonmate: 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.
😎 @davidjhonsonmate: 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
test(connect): add unit test coverage for wallet-address-mismatch war…
Okorie2000-code commentedon Sep 18, 2026
Hi, I’d be happy to take this on. The scope is clear, and I’m confident I can implement the required changes without introducing unnecessary complexity. I’ll handle the implementation, testing, and final verification so the PR is ready for review.
Dreal-pyper commentedon Sep 23, 2026
@Dreal-pyper has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Dreal-pyper to this issue.
Archive-000 commentedon Sep 23, 2026
@Archive-000 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Archive-000 to this issue.
Bojest001 commentedon Sep 23, 2026
@Bojest001 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Bojest001 to this issue.
davidjhonsonmate commentedon Sep 23, 2026
@davidjhonsonmate has applied to work on this issue as part of the Stellar Wave Program's 9th wave.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @davidjhonsonmate to this issue.
drips-wave commentedon Sep 23, 2026
Congratulations, @davidjhonsonmate! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.
🧑💻 @davidjhonsonmate: 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: add coverage config, PUBLIC network test, async login tests, and…
Merge pull request #535 from davidjhonsonmate/fix/issues-416-417-418-419
drips-wave commentedon Sep 25, 2026
This issue has been completed by @davidjhonsonmate as part of the Stellar Wave Program's 9th Wave 🥳
😎 @davidjhonsonmate: 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.
fix: surface inert team-split validation, milestone funding amount, p…