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

What the admin sees
PackageMasterPage.tsx, built on the same shared MasterListPage shell as Warehouse Master. The header shows the breadcrumb “Catalog / Package Masters”, a search box, a status filter toggle (All / Published / Draft / Archived), and an “Add” action.
Each row shows the package code (monospace, bold) next to a status dot using the same green/amber/red (PUBLISHED/DRAFT/ARCHIVED) scheme as Warehouse Master, with a caption line showing the package name and its material type label (Box, Flyer, Poly Bag, or Wrapper). One pencil-icon Edit button sits on each row; there is no inline Delete or Archive action on the list itself.
What the admin does here
- The search box filters rows by package code or package name, case-insensitive substring match, entirely client-side.
- The status toggle narrows the same in-memory list by
status. - No pagination control appears — the full list is fetched once (
GET /inventory/admin/api/v1/package-masters) on page load. - The list response intentionally omits internal dimensions and tare weight — only the fields the row/columns actually show are returned; the full detail (including those fields) is fetched separately when editing.
- Add navigates to the add form; Edit navigates to the same form pre-loaded with that package’s full detail.
Related Documents
- SR-023 FR-01 — list/search/filter behavior, thinner list response
- Architecture — Package Master Administration Console
- Microservices: inventory-service
- Next: Package Master Add/Edit Form