PhoenixKitCRM.Web.CRMLive (PhoenixKitCRM v0.4.0)

Copy Markdown View Source

Main admin LiveView for the CRM module — the module's landing page.

Shows what the CRM actually holds (companies, contacts, interactions, lists), each count linking to the page that manages it, plus the PhoenixKit roles that have CRM access.

A note on what is deliberately NOT here: the product review asked for a coverage card reading "N of M order customers have no CRM contact". That number cannot be computed here. Orders live in the host application's own tables, and this package must not reach into them — the same boundary that put the backfill mix task in the host rather than in this module. So when there are no contacts yet, the page names the backfill task instead of inventing a denominator it cannot honestly compute.

PhoenixKit wraps this in the admin layout automatically (sidebar, header, theme) thanks to the live_view field on admin_tabs/0.