Skip to content

feat(frontend): add offline/network error handling with graceful degradation and auto-retry #587

@ogazboiz

Description

@ogazboiz

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Area: All pages with data fetching

When the backend is unreachable (network offline, server down), users see generic error messages with no recovery path. There is no graceful degradation or cached fallback.

Fix:

  • Add a global network error boundary that catches fetch failures
  • Show an "Offline" banner when navigator.onLine is false
  • On reconnect, auto-retry failed queries
  • Cache last-known values from React Query so the UI isn't completely blank

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingenhancementNew feature or requestfrontendIssues related to frontend development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions