Skip to content

fix: wrap seller dashboard stats panel in error boundary (#27) - #48

Open
Sam-Rytech wants to merge 2 commits into
StellarState:devfrom
Sam-Rytech:issue-27
Open

fix: wrap seller dashboard stats panel in error boundary (#27)#48
Sam-Rytech wants to merge 2 commits into
StellarState:devfrom
Sam-Rytech:issue-27

Conversation

@Sam-Rytech

Copy link
Copy Markdown

This PR wraps the seller dashboard stats panel in a React error boundary to prevent a rendering or data error from crashing the entire page. The invoice breakdown list section will remain fully interactive.

  • Added ErrorBoundary around the stats grid.
  • Implemented the fallback UI: 'Dashboard stats unavailable — try refreshing'
  • Included a Retry button to reset the boundary state.
  • Caught errors are securely passed to the client-side error logger.

Closes #27

Dannyorji and others added 2 commits July 29, 2026 14:09
Sellers can now see aggregated invoice stats (total invoices, funded,
settled, XLM raised) and a per-invoice breakdown with status and
funding progress. Adds a shared connect-wallet redirect target and an
isInitializing flag on useStellarWallet so gated pages don't redirect
before the initial wallet check resolves.
@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Sam-Rytech 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

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.

Add an error boundary around the seller dashboard stats panel to prevent a data error from crashing the full page

2 participants