memos/plugin/webhook
Claude 923a346eac
feat(web,server): improve offline mode functionality
Enhance offline mode to fully support local-only operation:

Frontend changes:
- Hide OAuth login options when offline (SignIn.tsx)
  OAuth providers require external internet access and won't work
  offline, so they're now hidden when network is unavailable
- Coordinate inputs already available in LocationDialog for manual entry
  Users can enter lat/lng directly when map tiles don't load

Backend changes:
- Add better logging for webhook network failures (webhook.go)
  Webhooks already fail gracefully via async goroutines, now with
  clearer logging to indicate network may be offline

The app now functions fully offline for core features when both
frontend and backend are running on local network:
- Local username/password auth works (OAuth hidden)
- All memo operations work (webhooks logged but don't block)
- Maps allow coordinate input (tiles unavailable but functional)
- Geocoding falls back to coordinates (already implemented)
2025-11-19 03:36:06 +00:00
..
webhook.go feat(web,server): improve offline mode functionality 2025-11-19 03:36:06 +00:00
webhook_test.go chore: implement webhook dispatch in api v1 2023-11-25 10:31:58 +08:00