summaryrefslogtreecommitdiff
path: root/apps/web/lib/query-client.ts
Commit message (Collapse)AuthorAgeFilesLines
* fix: use online networkMode for offline mutations instead of offlineFirstFuwn2026-02-091-1/+1
| | | | | | | offlineFirst fires the mutation once even when offline, causing a network error that triggers onError and rolls back the optimistic update. online mode pauses the mutation without calling mutationFn, keeping the optimistic state intact until reconnection.
* feat: offline support tier 3 — mutation queue and image cachingFuwn2026-02-091-0/+9
| | | | | | | Paused mutations (read/save toggles) are now persisted to IndexedDB and automatically resumed on reconnection or page reload via TanStack Query's offlineFirst networkMode. Service worker caches images with CacheFirst strategy (500 entries, 7-day expiry) for offline reading.
* feat: offline support tier 1 — IndexedDB query persistence and offline bannerFuwn2026-02-091-0/+3
| | | | | | Persist React Query cache to IndexedDB via idb-keyval so timeline, entry details, subscriptions, and other read data survive page reloads and brief offline periods. Add network status banner in reader layout.
* feat: asa.news RSS reader with developer tier, REST API, and webhooksFuwn2026-02-071-0/+12
Full-stack RSS reader SaaS: Supabase + Next.js + Go worker. Includes three subscription tiers (free/pro/developer), API key auth, read-only REST API, webhook push notifications, Stripe billing with proration, and PWA support.