T9: custom modal/dialog system update
+11
@@ -12,6 +12,17 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic
|
||||
- Username: `admin`
|
||||
- Password: `Brett85!@`
|
||||
|
||||
### T9 Modal/Dialog System — May 2026
|
||||
- **Custom modal system** replaced all native browser `prompt()`, `alert()`, `confirm()` calls
|
||||
- Supports 4 modal types: **confirm** (yes/no), **alert** (OK only), **prompt** (text input), **form** (multi-field)
|
||||
- **CSS animations:** fade overlay + scale-in modal card
|
||||
- **Keyboard accessible:** ESC closes, Tab/Shift+Tab focus trap, Enter submits prompts
|
||||
- **Click-outside** overlay dismisses modal
|
||||
- **Accessibility:** `role="dialog"`, `aria-modal="true"`, `aria-labelledby`
|
||||
- **Backward-compatible** with all existing `showModal()` calls
|
||||
- Replaced 3 native `prompt()` calls: geofence naming (2x), database reset confirmation (1x)
|
||||
- 7 Playwright E2E tests passing
|
||||
|
||||
### T5 Dashboard Fixes — May 2026
|
||||
- **Active Technicians** now queries `users WHERE role='technician'` (was counting from visit data — showed 0 when no visits yet)
|
||||
- **Interactive bar charts** — hover shows label + count tooltip; click drills down to filtered asset list (Category, Status, Make)
|
||||
|
||||
Reference in New Issue
Block a user