From 81a0bfebd5506643e3ed0c0931eac0c73a5d1c99 Mon Sep 17 00:00:00 2001 From: Mathieu Moran Date: Wed, 12 Aug 2026 02:49:04 -0400 Subject: [PATCH] =?UTF-8?q?docs:=20add=20BUG-13=20=E2=80=94=20server=20web?= =?UTF-8?q?=20UI=20shows=20raw=20coords=20instead=20of=20geocoded=20locati?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Trips 18517, 18516 show (x,y) instead of address/street name - Likely regression in geocoding pipeline or cache lookup - Plan: rework server-side geocoding, backport to Pi if simple --- BUGS.md | 12 +++++++++++- .../src/main/java/com/yarisobd/app/DownloadWorker.kt | 3 ++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/BUGS.md b/BUGS.md index 2d5683b..7d598ae 100644 --- a/BUGS.md +++ b/BUGS.md @@ -8,7 +8,17 @@ When CLOSED, move the entire entry to Resolved — don't duplicate. ## Open bugs -(No open bugs — all Phase 26 issues resolved.) +### BUG-13 — Server Web UI shows raw coordinates instead of geocoded location on trips +- **Status**: `OPEN` +- **Reported**: 2026-08-12 +- **Affected trips**: 18517, 18516 (and possibly others) +- **Symptom**: The trip detail/replay page shows raw (x, y) coordinates instead of + reverse-geocoded location names (street/city/address). +- **Likely cause**: Geocoding pipeline is either not running, failing silently, or + the cache lookup isn't populating for these coordinates. Could be a regression + from the BUG-09 geocode preloading changes or a server-side cache issue. +- **Plan**: Rework the location/geocoding pipeline primarily on the server side. + If simple enough, also backport the fix to the Pi (local dash) for consistency. --- diff --git a/android/app/src/main/java/com/yarisobd/app/DownloadWorker.kt b/android/app/src/main/java/com/yarisobd/app/DownloadWorker.kt index b38280f..c1b3dc1 100644 --- a/android/app/src/main/java/com/yarisobd/app/DownloadWorker.kt +++ b/android/app/src/main/java/com/yarisobd/app/DownloadWorker.kt @@ -110,10 +110,11 @@ class DownloadWorker( sink.write(buffer, read) downloaded += read - // Update notification progress + // Update notification + WorkManager progress if (total > 0) { val pct = ((downloaded * 100) / total).toInt() setForeground(createForegroundInfo(filename, pct, downloaded, total)) + setProgressAsync(workDataOf("pct" to pct)) } } }