Skip to content

CRM 0.16.0: Log client meetings and calls on a project

CRM 0.16.0 brings client interactions into the Projects module: a project’s Client tab now logs meetings, calls and messages with the client company, books each attendee’s time to the project, and lets you plan a meeting ahead.

Meetings on the project’s Client tab

The projects hub’s Client tab lists the client company’s interactions for that project. Log an interaction opens a drawer with the type, subject, body, time and time zone, a Duration (minutes) and the Involved parties: CRM contacts, staff people, free text or yourself. A new type, message, covers chats and texts.

Each attendee’s minutes go to the project’s time ledger, as billable or not with Billable time. When you edit a meeting, the drawer loads the saved parties and the time already logged, and changing a figure amends that entry, 0 removes it, and a new attendee gets an entry on save.

Plan a meeting ahead

Plan ahead on the Planned card creates an event on the project’s calendar with a title, a time and an optional place. Afterwards, Log what happened opens the composer with the plan picked, and the record links back to it.

Tasks and live updates

An interaction can be mentioned in a task with the # chip. The task is then listed on the meeting, and Add task on a meeting opens a new task with the chip filled in. A project’s feed now updates live when interactions are added, moved, trashed or restored.

Projects JSON API

Projects API clients get /ext/interactions to list, read, create and update a project’s interactions with their parties and tasks, and /ext/companies for the project’s client and its people. They use the interactions:read and interactions:write scopes. Bad input, such as a non-string party name or a malformed reference, now answers 422 instead of failing.

Fixes

  • A viewer without write access to the Client tab could delete, log and plan meetings by sending the events directly. The tab now refuses them.
  • A staff attendee’s time was logged again on every edit of a meeting.
  • Changing only Billable time on an edit now updates the existing entries.
  • A failed ledger write is no longer hidden when the drawer closes.
  • Interactions of a trashed contact or company no longer show on a project.

Upgrading

Run mix phoenix_kit.update: migration V08 adds the project link and the duration to interactions.

Full release notes: CRM 0.16.0

0.16.0 · 5 October 2026

Added

  • Meetings and calls logged on a project (migration V08: project_uuid and duration_minutes on interactions, run mix phoenix_kit.update). The projects hub’s Client tab lists the client company’s interactions for the project and logs new ones in a drawer: type (a new “message” type), subject, body, when and time zone, duration, and the parties (contacts, staff people, free text, or the viewer as “me”). Each attendee’s minutes go to the project’s ledger as billable or non-billable time; editing a meeting loads the saved parties and the time already logged, and amends, removes or adds entries.
  • Planning. “Plan a meeting” creates a project event; “Log what happened” opens the composer with the plan picked, and the record links back to it.
  • The projects JSON API: /ext/interactions (list with since and limit, get, create, update; parties, event_uuid, tasks) and /ext/companies (the project’s client with the people at it), on the interactions:read / interactions:write scopes. The Client extension now declares a log_interaction action.
  • Interactions are mentionable (crm_interaction): a task whose description carries the # chip is listed on the meeting, and the meeting lists its tasks; “Add task” on a row opens the new-task page with the chip filled in. Contacts and companies resolve through the same resource_links/0.
  • A project’s feed follows changes live, including rows anchored to a contact or a former client, anchor trash and restore, and meetings moved or planned on the hub’s calendar.

Fixed

  • A viewer without write access to the Client tab could delete, log and plan meetings by sending the events directly; the component and the tab now refuse them, and Edit checks the row’s anchor the way Delete does.
  • A staff attendee’s time was logged again on every edit of a meeting.
  • A failed ledger write is no longer hidden by the closing drawer, a partial failure keeps its retry state, and a failed ledger read cannot duplicate time already logged.
  • Changing only Billable on an edit now updates the existing entries.
  • Interactions of a trashed contact or company no longer list on a project.
  • The projects API answers 422 instead of failing on non-string party names, non-uuid references, a malformed event_uuid, blank names and NUL bytes, and checks tasks before writing anything.

CRM 0.16.0. Install or update: {:phoenix_kit_crm, "~> 0.16"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.