Skip to content

fix: SupportPanel form reset + Albedo wallet network compatibility#735

Merged
OlaGreat merged 2 commits into
OlaGreat:mainfrom
jayteemoney:fix/support-panel-form-and-albedo-wallet
Jun 29, 2026
Merged

fix: SupportPanel form reset + Albedo wallet network compatibility#735
OlaGreat merged 2 commits into
OlaGreat:mainfrom
jayteemoney:fix/support-panel-form-and-albedo-wallet

Conversation

@jayteemoney

Copy link
Copy Markdown

Summary

Fixes two frontend bugs in the support flow.

#708 — SupportPanel does not clear amount and message after a successful transaction

After a successful payment, the amount and message fields stayed populated, making it easy to accidentally re-send the same support (especially on mobile).

  • The success values are snapshotted into submittedAmount / submittedMessage before clearing the live inputs.
  • The TransactionResultModal now reads those snapshots, so it still shows the correct amount and note while open — clearing the live fields immediately would otherwise blank out the modal (it renders the props live).
  • After a successful submit, the form is cleared.

#707 — Albedo wallet adapter passed the full network passphrase

albedo.tx() expects the shorthand "public" | "testnet", but the full passphrase (e.g. "Test SDF Network ; September 2015") was being passed, so every Albedo sign attempt failed.

  • The short network name is now derived from the passphrase via Networks.PUBLIC from @stellar/stellar-sdk.

Testing

  • npx tsc --noEmit — no new type errors in the changed files.
  • npx next lint on both changed files — no warnings or errors.
  • The pre-existing support-panel test pass/fail count is unchanged (failures are environmental and present on main before this change).

Notes

  • Changes are minimal and follow existing code style/patterns.
  • Freighter and Lobstr adapters are untouched and continue to work.

Closes #707
Closes #708

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@jayteemoney 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! 🚀

Learn more about application limits

@github-actions

Copy link
Copy Markdown

Lighthouse Report 🚀

Category Score
Performance 90.66666666666667 🟢
Accessibility 100 🟢
Best Practices 96 🟢
SEO 100 🟢

Web Vitals

Metric Value
LCP (target < 4.0 s) 1.89 s
TBT (target < 500 ms) 364 ms
CLS (target < 0.15) 0.000

Ran 3 audit(s) on 2026-06-29

@OlaGreat OlaGreat merged commit 59ab65a into OlaGreat:main Jun 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants