T7 Reports Page UX — verification pass, add b31f8e8 commit
+10
@@ -50,6 +50,16 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic
|
||||
- **View on Map button** — Location-based entries in Service Summary table get a 📍 Map button that flies to the asset on the map
|
||||
- **Report caching** — Data cached client-side; switching between reports tabs does not re-fetch from API
|
||||
- **Backend fix** — Added `a.latitude, a.longitude` to `/api/visits` SQL query (was missing, so map button never rendered)
|
||||
- Commits: 6c1d5c3 (HTML/JS/CSS), 51f9bcf (backend lat/lng fix), b31f8e8 (Navigate GPS improvements committed alongside)
|
||||
- Verified all 7 requirements complete on 2026-05-21 pass
|
||||
- **Date range presets** — Today, This Week, This Month, Last Month, All Time quick-select buttons with active highlight
|
||||
- **Empty state guidance cards** — Each report section shows helpful guidance with icons when no data exists (instead of bare "No visits in range")
|
||||
- **CSV download** — Button hidden when no data, appears when reports have results
|
||||
- **Loading spinner** — Shows while report generates, button disabled during fetch
|
||||
- **Per Technician / Per Asset** — Time-on-site sections show guidance cards when empty
|
||||
- **View on Map button** — Location-based entries in Service Summary table get a 📍 Map button that flies to the asset on the map
|
||||
- **Report caching** — Data cached client-side; switching between reports tabs does not re-fetch from API
|
||||
- **Backend fix** — Added `a.latitude, a.longitude` to `/api/visits` SQL query (was missing, so map button never rendered)
|
||||
- Commits: 6c1d5c3 (HTML/JS/CSS), 51f9bcf (backend lat/lng fix)
|
||||
|
||||
### T6 Map Page Improvements — May 2026
|
||||
|
||||
Reference in New Issue
Block a user