Skip to content

Offline mode and request queue for flaky networks #170

@Nanle-code

Description

@Nanle-code

Labels: pwa, resilience

Description

src/utils/offline.js exists but is not a first-class UX. Power users on poor connections need queued actions and cached read-only data.

Tasks

Service worker or navigator.onLine integration for read-only cached accounts.
Queue failed Horizon writes with retry via src/lib/errorHandling/RetryManager.ts.
Banner component in src/App.tsx when offline.
Acceptance criteria

Offline shows last cached account overview from src/lib/cacheManager.ts.

Queued simulate/build operations replay when online.
Files

src/utils/offline.js
src/lib/cacheManager.ts, src/lib/cache.js
src/lib/errorHandling/RetryManager.ts
src/App.tsx

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions