PhoenixKitManufacturing.Web.DashboardLive (PhoenixKitManufacturing v0.2.0)

Copy Markdown View Source

Admin dashboard for the Manufacturing module.

Shows at-a-glance counts for the machines reference book and quick links into its sections. The admin layout (sidebar, header, theme) is applied automatically by PhoenixKit's on_mount hook; do not wrap this render in LayoutWrapper.

All counts are loaded defensively — if the host has not yet run mix phoenix_kit.update (so the module's tables do not exist), the queries fail softly and the dashboard renders zeros rather than crashing.