Skip to content

[Feature] Improve offline detection and graceful degradation for network errors #324

Description

@kelly-musk

Problem

components/error/OfflineBoundary.tsx exists but its integration in the app layout is unclear. During a network disruption, API calls fail silently or show generic error states.

For users in markets with intermittent connectivity (a primary target for Aframp), graceful offline handling is critical.

Fix

  1. Ensure <OfflineBoundary /> wraps all data-dependent pages
  2. Add service worker caching for exchange rates (stale-while-revalidate)
  3. Show a non-blocking 'You are offline' banner with last-known data timestamp
  4. Queue non-urgent actions for retry on reconnect

Impact

Medium UX — important for African markets with variable connectivity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programfeatureNew feature or missing functionalityinfrastructureHosting, CI/CD, deploymentuxUser experience

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions