Skip to content

fix(dashboard): refresh balances on incoming payments - #910

Closed
NteinPrecious wants to merge 1 commit into
Ignition-World:mainfrom
NteinPrecious:nteinprecious/issue-858
Closed

NteinPrecious wants to merge 1 commit into
Ignition-World:mainfrom
NteinPrecious:nteinprecious/issue-858

Conversation

@NteinPrecious

Copy link
Copy Markdown
  • [WEB-001] Dashboard asset balances do not refresh after receiving a payment #858: dashboard balances now refresh as soon as a payment arrives. The repo's dashboard state is a custom useWalletBalances hook rather than React Query, so the fix is applied there:
    • subscribeToWalletStream falls back to Horizon's per-account payments stream (/accounts/{id}/payments?cursor=now) when NEXT_PUBLIC_WALLET_STREAM_URL is not configured, and treats Horizon's unnamed message events as a balance change.
    • New invalidateWalletBalances() / walletBalancesInvalidated event that useWalletBalances listens to, for flows that know the balance changed (nothing in the repo calls it yet).

Nothing was installed, built or tested; please verify in CI/review.

Closes #858

@drips-wave

drips-wave Bot commented Oct 16, 2026

Copy link
Copy Markdown

@NteinPrecious 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

@NteinPrecious

Copy link
Copy Markdown
Author

Folded into #908.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[WEB-001] Dashboard asset balances do not refresh after receiving a payment

1 participant