fix: replace map tab chip filters with collapsible filter panel

- Removed old chip-based filter system (map-filter-chips, buildMapFilterChips)
- Added 🎯 Filters toggle + collapsible filter panel (identical to assets tab)
- Dropdowns for Category, Make, Disney/Non-Disney, Disney Park, Customer,
  Location, Branch, Assigned To — all loaded from API on first open
- Active filter tags with individual remove and Clear All
- GPS-less asset search now includes company field
- Load failure now shows toast instead of silent catch
- Updated test_pins_chip_ui to check for mapFilterToggle
This commit is contained in:
2026-05-29 23:17:48 -04:00
parent 17b870e4cc
commit 759880de26
4 changed files with 354 additions and 60 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
// Caches app shell + CDN deps. Network-first for API, cache fallback for static.
// ═══════════════════════════════════════════════════════════════════════════
const CACHE_NAME = 'canteen-v6';
const CACHE_NAME = 'canteen-v7';
// App shell — core resources needed to boot the PWA
const APP_SHELL = [