mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-20 00:38:38 +02:00
feat(inventory): storage location filter chip (#1400)
Reporter pgladel manages multiple physical filament storage locations and wanted to narrow the inventory list to a specific location without typing a search query each time. Adds a new Storage Location dropdown chip on the inventory page, next to the existing Material / Brand / Category / Spool Name filters. Distinct values are pulled from the spool list with .trim() so accidental trailing whitespace doesn't render as a separate option. A "No location set" entry appears when at least one spool has an empty storage_location (mirrors the categoryNone group). Chip self-hides when no spool has a storage location set. Same shape as the Category chip from #729 — clear-all-filters and hasActiveFilters both include the new state. i18n: reuses existing inventory.storageLocation label, adds inventory.storageLocationNone in all 8 locales. Parity check holds at 4818 leaves per locale. 24 InventoryPage tests still pass, frontend build clean.
This commit is contained in:
File diff suppressed because one or more lines are too long
+1
-1
@@ -26,7 +26,7 @@
|
||||
|
||||
<!-- Splash screens for iOS -->
|
||||
<link rel="apple-touch-startup-image" href="/img/android-chrome-512x512.png" />
|
||||
<script type="module" crossorigin src="/assets/index-Cy6PHBkY.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-DuEb_u5w.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-Baw5c3Hn.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user