CRM module for PhoenixKit.
Implements the PhoenixKit.Module behaviour — discovered automatically at
startup via the @phoenix_kit_module attribute. No explicit config is needed
in the host application beyond adding this package to deps.
Summary
Functions
Refreshes the CRM role tabs in the Dashboard Registry.
Functions
@spec refresh_sidebar() :: :ok
Refreshes the CRM role tabs in the Dashboard Registry.
Called after enabling or disabling a role in RoleSettings.set_enabled/2.
Known limitation
Role subtabs live in the runtime-only namespace :phoenix_kit_crm_roles.
If PhoenixKit.Dashboard.Registry.load_admin_defaults/0 is ever invoked
at runtime, this namespace is wiped; role tabs will reappear after the
next RoleSettings.set_enabled/2 call or an application restart.