trails/packages
Ullrich Schäfer 5ff7af8a81
Add background bulk import for Komoot
Replace the per-tour import UI with a fire-and-forget background job:

- Add `import_batches` DB table tracking status, found/imported/duplicate counts
- Add `runKomootBulkImport` server function that pages all Komoot tours,
  fetches GPX, creates activities, and deduplicates via sync_imports
- Add `komoot-bulk-import` pg-boss job registered at server startup
- Add POST /api/sync/komoot/import to enqueue the job
- Add GET /api/sync/komoot/import-status to return the latest batch
- Replace the Komoot import page with a progress UI that polls every 2s
  while a batch is running and shows found/imported/skipped counts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 18:19:10 +02:00
..
api Bump the production group with 41 updates 2026-05-10 08:42:40 +00:00
db Add background bulk import for Komoot 2026-05-23 18:19:10 +02:00
fit Bump fit-file-parser in the development group across 1 directory 2026-05-10 11:09:33 +00:00
gpx Include waypoint note in GPX export and extractWaypoints type 2026-05-18 07:38:55 +02:00
i18n Add background bulk import for Komoot 2026-05-23 18:19:10 +02:00
jobs Bump the production group with 19 updates 2026-05-03 08:33:39 +00:00
map Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
map-core Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00
sentry-config Fix sentry-config typecheck: explicit types: [node] in tsconfig 2026-04-18 00:43:48 +02:00
types Add per-waypoint notes and nearby POI snap to Planner 2026-05-17 23:58:21 +02:00
ui Add tests to all packages, remove passWithNoTests 2026-04-13 00:48:27 +02:00