Warehouse Master — List & Status Filter
By Engineering Team•October 9, 2026•2 min read

What the admin sees
WarehousePage.tsx, built on the shared MasterListPage shell. The header shows the breadcrumb “Catalog / Warehouses”, a search box, a status filter toggle (All / Published / Draft / Archived), and an “Add” action.
Each row shows the warehouse code (monospace, bold) next to a small colored status dot — green for PUBLISHED, amber for DRAFT, red for ARCHIVED — with the description underneath as a caption. One pencil-icon Edit button sits on the right of each row; there is no inline Delete or Archive action on the list itself — those lifecycle actions only live inside the edit form.
What the admin does here
- The search box filters rows by warehouse code or description, case-insensitive substring match — entirely client-side, no request is sent to the backend as the admin types.
- The status toggle narrows the same in-memory list by
status; combined with the search text via the same filter pass. - No pagination control appears — the full warehouse list is fetched once (
GET /inventory/admin/api/v1/warehouses) on page load and filtered/searched in memory, since a tenant’s warehouse count is expected to stay low. - Add navigates to the add form; Edit navigates to the same form pre-loaded with that warehouse’s full detail.
Related Documents
- SR-022 FR-01 — list/search/filter behavior
- Architecture — Warehouse Master Administration Console
- Microservices: inventory-service
- Next: Warehouse Add/Edit Form