fix: detail view missing location fields (#49)

2026-05-29 00:28:08 -04:00
parent 8e32b7af48
commit 2b7d9a86e6
+8 -1
@@ -8,7 +8,14 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic
- **Start:** `./start.sh`
- **Repo:** https://gitea.ourpad.casa/shawn/canteen-asset-tracker
## Latest: Major App Overhaul (May 28)
## Latest Changes
### 2026-05-29: Detail view missing location fields
- **Problem:** List cards showed building/floor/place info but the detail view's main Asset Details card omitted these fields. Users had to scroll to the collapsed Directions card to see them.
- **Fix:** Added `place`, `building_name`, `building_number`, `floor`, `room`, `trailer_number` to the main detail fields in `viewAsset()`. Only populated fields render (empty values are skipped).
- **Commit:** 5180d81 | **Issue:** #49
### May 28: Major Overhaul
- **DB rebuilt** with **9,636 MSFS-merged assets** via `import_msfs.py`
- **Find Asset tab** (renamed from Add/Find): lookup-only mode — barcode scanning and OCR only, no new asset creation. OCR EXIF GPS auto-saved to asset when lat/lng blank.
- **Assets tab**: removed import functionality