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:
@@ -142,8 +142,8 @@ class TestGPSControls:
|
||||
assert "GPS location not available" in body()
|
||||
|
||||
def test_pins_chip_ui(self):
|
||||
"""Pin toggle chip exists."""
|
||||
assert "chipPins" in body()
|
||||
"""🎯 Filters toggle button exists in map tab."""
|
||||
assert "mapFilterToggle" in body()
|
||||
|
||||
|
||||
class TestHeatmap:
|
||||
|
||||
Reference in New Issue
Block a user