baldav/frontend/js
4aiman b26264538b GPS point ordering + GPX export + chart zoom fixes
GPS background recording:
- Batched writes (10s flush) in native service
- Polling lock prevents parallel processing
- Track by timestamp instead of line count
- Recovery idempotent via max DB timestamp
- Seq numbers on live recorded points

GPX export:
- Button in session detail
- SAF file picker on Android (ACTION_CREATE_DOCUMENT)
- GPS config in metadata (accuracy, minSpeed, minDist)

Charts:
- Pinch zoom enabled at creation (Hammer.js registers handlers)
- touch-action: pan-y blocks pinch in normal view (page scrolls)
- Fullscreen: CSS-only expand (no canvas manipulation)
- Downsampled to 500 points for smooth rendering
- Back gesture collapses fullscreen before closing modal

Build: --real flag finds first non-emulator device
2026-05-16 21:21:13 +03:00
..
bmr.js Initial commit: BalDav health tracker 2026-05-13 10:21:24 +03:00
db.js GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gps.js GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00
main.js GPS point ordering + GPX export + chart zoom fixes 2026-05-16 21:21:13 +03:00
tilecache.js GPS track rendering + offline maps + UI improvements 2026-05-13 17:53:19 +03:00