Skip to content

Inbox 0.6.0: More control over the embedded compose form

Inbox 0.6.0 gives apps that embed PhoenixKit’s compose form more say over it: you can limit its suggestions to your own data, use your own upload, and put your own button in its footer. The inbox’s own pages are unchanged.

Three new options for ComposeForm

  • member_suggestions={false} leaves the module’s own members out of the typed suggestions, so the form offers only your app’s recipient_sources. The checks on the send stay the same. An address typed for someone inside the application is still refused, and when one of your sources offers that person, the message asks to choose them from the list.
  • own_upload={false} removes the form’s own Upload files control, for an app whose attachment_picker already uploads. Picked files still go through authorize_attachments.
  • The footer_start slot shows a control of your app, such as a Back button, at the start of the form’s last row. It receives %{sending: sending?}. A viewer without access to the form still sees it, so your page keeps its way back.

Fixes

  • An open suggestion list outlived a change of recipient_sources, scope or member_suggestions, or an access refresh, so a removed source or a revoked permission could still supply a recipient. The list is now rebuilt after the access check.
  • Hiding the upload control while a file was still uploading could make the upload hang and block the send. The upload input now stays in place, hidden, until the upload finishes or is cancelled.

Upgrading

Inbox 0.6 needs PhoenixKit 3.5.0 or later (it was 2.64.0). There is no migration. Attachments.Maintenance.supported?/0 is removed, since every core this version accepts can relink and clean up stored files.

Full release notes: Inbox 0.6.0

0.6.0 · 15 November 2026

PRs #16–#18 and their Claude, Codex and Grok review fixes.

Upgrade notes

  • Requires PhoenixKit core 3.5.0 or later (was 2.64.0). The pin is >= 3.5.0 and < 4.0.0. 3.5.0 is the minimum core across the ecosystem.
  • No new migration.

Added

  • member_suggestions on ComposeForm (#16). member_suggestions={false} takes the module’s own members out of the typed suggestions, so the form offers only the host’s recipient_sources. The send’s recipient checks do not change. An address typed for someone inside is still refused, with “choose them from the list” when one of the host’s sources offers that person (by address, account, @username or shared-mailbox slug).
  • own_upload on ComposeForm (#17). own_upload={false} removes the form’s own «Upload files» control, for a host whose attachment_picker already uploads. Picks still go through authorize_attachments.
  • The footer_start slot on ComposeForm (#18) shows a control of the host’s (a «Back», say) at the start of the last row. It gets %{sending: sending?}. A viewer without access still sees the control, so the host’s window keeps its way back.

Fixed

  • An open suggestion list on ComposeForm outlived a change of recipient_sources, scope or member_suggestions, or an access refresh. A removed source or a revoked permission could still supply a recipient that could be picked. The list is now rebuilt with new ids, after the access check.
  • Hiding the upload control while a file was still uploading removed the input that LiveView routes the progress through, so the upload could hang and block the send. The input stays mounted, hidden, until the upload finishes or is cancelled.

Removed

  • Attachments.Maintenance.supported?/0 and the relink task’s “this core cannot do it” exit. Every core this version admits has Storage.relink_file/3 and delete_unreferenced_keys/1.

Inbox 0.6.0. Install or update: {:phoenix_kit_inbox, "~> 0.6"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.