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)) } } }