Commit graph

2 commits

Author SHA1 Message Date
Claude
89f60e894b
Fix geolocation on iOS Safari: explicit button + error feedback
Replace silent on-load getCurrentPosition with an opt-in button on
step 1. iOS Safari requires a user gesture for the permission prompt
to appear; calling it on page load suppresses the dialog. The button
triggers the request on tap, shows "Getting location…" while waiting,
and surfaces permission-denied / timeout errors with clear messages.

https://claude.ai/code/session_015myTTMs6yDsAGarATe5ePZ
2026-03-18 20:16:16 +00:00
Claude
b321811b35
Implement mileage tracking app (Rust + Axum + Claude Vision)
- Axum server with 3-step multipart upload flow
- Claude Haiku Vision API reads odometer from phone photos
- Step 1: photo + GPS → reverse-geocoded location via Nominatim
- Step 2: mid-session reading, shows ride 1 km immediately
- Step 3: final reading, writes 2 rows to JSON log, resets session
- GET /download generates and streams mileage_log.xlsx
- Mobile-friendly step-by-step HTML UI with progress indicator
- Excel columns: Date, Time, Odometer start/end, Trip km, Location, Notes

https://claude.ai/code/session_015myTTMs6yDsAGarATe5ePZ
2026-03-18 18:42:12 +00:00