diff --git a/Home.md b/Home.md index 465ce58..c531165 100644 --- a/Home.md +++ b/Home.md @@ -93,7 +93,15 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic Added 📍 GPS button next to `parking_location` field in both Add Asset and Edit forms. Clicking fills current GPS coordinates into the text field. Shows toast if GPS unavailable. ### Navigation Tool -Tap "🧭 Navigate" on any asset detail view to draw a route line on the map from your current GPS position to the asset. Shows distance, cardinal direction, and a Google Maps link. Also accessible from map pin popups. +Tap "🧭 Navigate" on any asset detail view to draw a route line on the map from your current GPS position to the asset. Shows distance, cardinal direction, bearing, ETA, OSRM road routing, turn-by-turn directions, driving/walking mode toggle, and a Google Maps link. Also accessible from the dedicated Navigate tab (🧭 bottom nav). + +**T4b Route-Finding UI** (commit 0aa9e1f): +- GPS-aware empty state: shows "Find your way" (GPS on) or "Location needed" (GPS off) with enable link +- Amber GPS warning banner when no GPS and no route active +- User's current location pin + accuracy circle on map when GPS available but no route +- Enhanced search results: GPS on/off badges (🧭/📍/⚠), non-navigable assets greyed out +- Back button navigates to previous tab (or Map fallback) +- `navigateToAsset()` still goes to Navigate tab even without GPS (shows warning UI) ### Navigate Tab Switching Fix (May 2026) Fixed a regression where the Navigate tab panel remained permanently visible after the first visit, overlapping any subsequent tab content. Root cause: `switchTab()` had an early `return` after `closeNavigate()` that skipped the actual tab panel DOM swap (slide animation, active class management). `closeNavigate()` only resets navigation state — it does not switch panels. Removed the early return so the normal tab switching logic runs after cleanup. Bottom tabs, More popover, and drawer nav all verified working in both directions. Commit 389f1f1.