shawn
86975e2e2b
feat: Default to OCR scanner, auto-start camera, hide viewport after capture
...
- Default add-asset mode changed from barcode to OCR
- Auto-start OCR camera when switching to OCR mode or Add Asset tab
- Camera viewport hidden entirely after photo capture (no placeholder showing)
- Retake button added to all OCR result states (found, not-found, error)
- 'Retake' resets UI and re-starts camera for a new photo
2026-06-01 19:12:01 -04:00
shawn
b5381fde69
t_4a71eab5: Strip admin UI from main index.html
...
- Removed empty comment blocks for removed admin tabs (Customers, Dashboard, Activity, Reports, Settings)
- Removed geofence Create/Edit/Delete UI from map tab (chip, color picker, geofence panel)
- Removed leaflet-draw dependency (no longer needed)
- Removed CustState and showCustView (admin-only)
- Removed all geofence JS functions (toggleGeofenceDraw, saveDrawnGeofence, loadGeofences, renderGeofenceList, editGeofence, deleteGeofence, assignGeofenceUsers)
- Removed loadTechnicianOptions() and its /api/users call
- Fixed loadManualLocations() to not call removed /api/locations endpoint
- Removed initMap orphan call and drawingGeofence cleanup in switchTab
- Removed unused geofence CSS styles and color-picker-row styles
- Kept Admin Panel link in drawer footer pointing to admin app
2026-05-21 17:56:13 -04:00