Skip to content

feat: add comprehensive error mapper for wallet, network, and Stellar… - #318

Open
charityzarmai wants to merge 1 commit into
HubDApp:mainfrom
charityzarmai:feature/offline-detection
Open

feat: add comprehensive error mapper for wallet, network, and Stellar…#318
charityzarmai wants to merge 1 commit into
HubDApp:mainfrom
charityzarmai:feature/offline-detection

Conversation

@charityzarmai

@charityzarmai charityzarmai commented Jul 30, 2026

Copy link
Copy Markdown

Closes #267


feat: add comprehensive error mapper for wallet, network, and Stellar…

- Created useOnlineStatus hook with multi-method detection
- Added OfflineBanner component (top/bottom positioning)
- Created OnlineStatusProvider for app-wide status
- Built network guard utilities to block offline actions
- Added OfflineWarning component for inline alerts
- Implemented retry logic with exponential backoff
- Defined network-dependent action guards
- Added isNetworkError detection utility
- Created comprehensive offline detection guide
- Included testing strategies and best practices
- Handles wallet, transaction, and form submission guards
- Provides graceful degradation when offline
- Auto-detects when connection returns
@charityzarmai

Copy link
Copy Markdown
Author

close #267

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@charityzarmai 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 offline and degraded-network states

1 participant