memos/web
Claude 7717f84afe
feat(web): enable offline mode support
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.
2025-11-19 03:20:21 +00:00
..
public feat(web): enable offline mode support 2025-11-19 03:20:21 +00:00
src feat(web): enable offline mode support 2025-11-19 03:20:21 +00:00
.gitignore chore: update gitignore 2025-04-17 23:11:36 +08:00
biome.json chore(web): migrate from ESLint+Prettier to Biome 2025-11-14 23:58:07 +08:00
components.json feat: themes (#4824) 2025-07-07 20:13:22 +08:00
index.html feat(web): enable offline mode support 2025-11-19 03:20:21 +00:00
package.json chore(web): migrate from ESLint+Prettier to Biome 2025-11-14 23:58:07 +08:00
pnpm-lock.yaml chore(web): migrate from ESLint+Prettier to Biome 2025-11-14 23:58:07 +08:00
tsconfig.json refactor: update import prefix with alias (#1433) 2023-04-01 16:03:14 +08:00
vite.config.mts refactor: update markdown parser 2025-10-26 11:28:40 +08:00