Commit Graph

7 Commits

Author SHA1 Message Date
Eric F
438f9aa952 fix: Convert location ID to integer for Locations_by_pk query
Root cause: Next.js URL params are always strings, but Locations.id
is integer in PostgreSQL. Hasura/PostgreSQL cannot compare varchar
with integer without explicit cast.

Fix: Parse params.id to integer in LocationsDetail component before
passing to Refine useOne().
2026-06-15 21:41:45 -04:00
Eric F
2e1a8a768d fix: Patch UI queries to use camelCase Hasura relations
- Patch GraphQL queries in source code (charging.stations.ts, locations.ts, transactions.ts)
- Rebuild Docker image with patched source
- Fix missing Transactions.authorization relationship in Hasura
- All 3 critical queries now work: GetChargingStations, LocationsList, TransactionList
- UI rebuilt from scratch with Node.js 24.16.0
2026-06-15 21:14:29 -04:00
Eric F
d0fbcd1e2d feat: Everest entrypoint + OCPI/EVerest config scripts 2026-06-15 18:38:14 -04:00
Eric F
85ddea41e4 fix: restore getPlaceDetails with Nominatim OSM implementation
- Replace stub with working Nominatim OSM place details lookup
- Fixes 'Failed to find Server Action' errors in logs
- Free, no API key required
2026-06-14 08:32:24 -04:00
Eric F
d0c0cc8b0e chore: update pnpm-lock.yaml after leaflet dependency changes 2026-06-13 10:29:25 -04:00
Eric F
9a14723b07 feat(ui): replace Google Maps with Leaflet + OpenStreetMap
- Replace all Google Map components with Leaflet OSM alternatives
- Add osm-map.tsx with dynamic Leaflet import (SSR-safe)
- Use CDN for Leaflet CSS to avoid Next.js CSS import issues
- Update types.tsx to remove google.maps dependencies
- Replace Google Places autocomplete with Nominatim OSM
- Replace Google Geocoding with Nominatim OSM
- Add GPS coordinates for all 15 Martinique charging station locations
- Update next.config.mjs: ignoreBuildErrors for TypeScript loops
- Update package.json: use 'next build' instead of 'refine build'
- Add .dockerignore for faster Docker builds
- Fix map centering on Martinique (default: 14.6415, -61.0242)
2026-06-12 11:04:18 -04:00
Eric F
d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00