mirror of https://github.com/usememos/memos.git
Add comprehensive offline mode support to allow the app to run locally without internet connectivity: - Add offline detection hook (useOfflineDetection) - Add visual offline indicator banner in UI - Add PWA support with enhanced manifest and service worker - Update map component to gracefully handle offline state with overlay - Skip geocoding API calls when offline, falling back to coordinates - Add PWA meta tags for better mobile app experience - Service worker caches app shell and runtime resources The app now handles internet-dependent features gracefully: - Maps display offline message but still allow coordinate selection - Geocoding falls back to showing coordinates when offline - Webhooks already log errors without failing operations - OAuth providers will fail gracefully when offline Core functionality (creating/editing memos with local auth) works fully offline when backend is accessible locally. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| biome.json | ||
| components.json | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| tsconfig.json | ||
| vite.config.mts | ||