Commit Graph

5 Commits

Author SHA1 Message Date
0c9faeb6f3 feat: web SPA build target + UX overhaul + public deployment setup
- Replace Electron IPC with native fetch + AbortController (VITE_VALHALLA_URL)
- Add vite.web.config.ts for standalone SPA build (npm run build:web)
- Per-mode color palettes (green/cyan/amber), RDP polygon simplification
- Interactive legend, hover popup, right-click context menu, map labels
- Toast notifications, history (last 5), auto-recalculate toggle
- Status dot, error card with retry, timing feedback, copy coordinates
- Zustand: toasts, history, hiddenLayers, autoRecalculate
- Add README.md and AGENT.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 14:03:34 +02:00
fbd7bf5c70 feat: migrate from ORS API to self-hosted Valhalla
- API calls rewritten for Valhalla isochrone endpoint
- Transport modes: auto/bicycle/pedestrian (Valhalla costing)
- Time ranges now up to 10h (no more 1h ORS limit)
- Defaults: 1h, 2h, 4h — input in hours with 0.5h steps
- Valhalla URL configurable in settings (default: routing.kerboul.me)
- No API key needed (self-hosted on CT 201 / Echelon)
2026-03-30 23:15:06 +02:00
a41670a52f fix: cap time ranges to 60min max (ORS free tier limit), switch to minutes 2026-03-30 20:29:01 +02:00
b23e85c4ca fix: relax CSP to allow MapLibre workers, tiles, and external APIs 2026-03-30 20:25:22 +02:00
3953e4ff40 feat: initial isochrone desktop app (Electron + MapLibre + ORS)
- MapLibre GL v5 avec fond OpenFreeMap (vector tiles OSM gratuit)
- Isochrones via OpenRouteService API (voiture, vélo, piéton)
- Multi-isochrones colorées (jusqu'à 5 durées simultanées)
- Export PNG et GeoJSON
- Recherche de lieu via Nominatim
- Clé API ORS persistée en localStorage / .env
2026-03-30 20:22:58 +02:00