PhoenixKitCRM.Web.EventsComponent (PhoenixKitCRM v0.2.4)

Copy Markdown View Source

The Events tab for a CRM record — a read-only, paginated feed of the PhoenixKit.Activity entries scoped to it (resource_type + resource_uuid). Parameterized by :resource_type ("crm_contact" / "crm_company") and :resource_uuid, so it serves both the contact and company profiles.

Labels/icons come from PhoenixKitCRM.ActivityLabels; the badge colour reuses core PhoenixKit.Activity.action_badge_color/1. Absolute timestamps render in the viewer's timezone (the tz_offset assign, in hours).