PhoenixKitWarehouse.Web.StockLive (PhoenixKitWarehouse v0.1.0)

Copy Markdown View Source

LiveView for the Warehouse "In stock" page.

Two views, toggled per-user:

  • Grouped (default): read-only catalogue/category tree via WarehouseBrowser.stock_sheet.
  • Flat: full table-parity view backed by Andi.Warehouse.StockColumnConfig — global search, per-column filtering, sorting, and configurable columns.

Admin-chrome pattern: self-wrapping render with LayoutWrapper.app_layout so the page title lands in the global admin header (see :self_wrapped_layout on_mount). Navigation via PhoenixKit.Utils.Routes.path/1.

Summary

Functions

on_mount(atom, params, session, socket)