feat(messaging): action messages history & SMS composer [WIP]

NM
2d ago
+3735-86

Messaging v1, only active when the org has messaging_enabled (and the workspace hasn't turned it off).

  • Message actions (options.embed: compose) show the patient's texts above Activity.
  • Paper-plane button on the action header and worklist/workflow/flow cards jumps to the texts.
  • Composer on message actions and the Interactions page sends SMS to the patient's mobile number

Screengrabs:

Screenshot 2026-11-18 at 2 46 31 PM Screenshot 2026-11-18 at 2 46 45 PM

To do still:

  • Make sure changes match design & claude prototype
  • Handle opted-out & do not contact state in the composer
  • Message history UI loading states
  • Code cleanup where applicable
  • Full code coverage