trails/apps/mobile
Ullrich Schäfer bd311cd339
Implement mobile route editor with MapLibre and BRouter routing
Route editing (Phase 3.3):
- useRouteEditor hook: waypoint state, add/move/delete, BRouter
  routing via Journal API proxy, GPX generation, save to API
- RouteMap component: MapLibre Native with OSM raster tiles,
  route polyline (ShapeSource + LineLayer), waypoint markers
  (MarkerView), long-press to add waypoints, computing indicator
- WaypointSheet: bottom sheet for waypoint actions — delete with
  confirmation, overnight stop toggle, coordinates display
- Route detail screen: view mode (map preview + stats) and edit
  mode (full-screen map with save button)
- Unsaved changes guard on navigation (beforeRemove listener)
- Smart waypoint insertion at nearest route segment
- Waypoint extraction from GPX via regex (sync, no DOM needed)

Adds DOM.Iterable to mobile tsconfig for gpx package compat.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 01:06:10 +02:00
..
app Implement mobile route editor with MapLibre and BRouter routing 2026-04-15 01:06:10 +02:00
assets Initialize Expo mobile app with tab navigation and monorepo support 2026-04-12 23:05:57 +02:00
lib Implement mobile route editor with MapLibre and BRouter routing 2026-04-15 01:06:10 +02:00
.gitignore Initialize Expo mobile app with tab navigation and monorepo support 2026-04-12 23:05:57 +02:00
app.config.ts Set up Sentry crash reporting for mobile app 2026-04-13 02:07:44 +02:00
eas.json Enable Sentry source map upload in EAS builds 2026-04-13 02:12:36 +02:00
index.ts Initialize Expo mobile app with tab navigation and monorepo support 2026-04-12 23:05:57 +02:00
package.json Fix CI: add react-test-renderer to match react version 2026-04-13 02:30:00 +02:00
tsconfig.json Implement mobile route editor with MapLibre and BRouter routing 2026-04-15 01:06:10 +02:00