Skip to content

PhoenixKit 2.21.0: Tabs on Email Sending and Sitemap settings

PhoenixKit 2.21.0 gives the Email Sending and Sitemap settings pages tabs, like the rest of Settings, and fixes a set of small problems across the settings area.

Tabs on Email Sending and Sitemap

Email Sending now has the tabs Sender Identity, Transport, Local Dev Mailbox, Default Integration, Test Send and Send Profiles. Local Dev Mailbox only appears when it applies. Sitemap has Sources, Configuration, Quick Actions and Advanced. The settings themselves are unchanged; they are just easier to find on long pages.

Settings navigation

The Media pages, with their dimension, health and bucket sub-pages, and the Sitemap page had a breadcrumb that pointed to Modules at /admin/modules, although they sit under Settings in the sidebar. It now points to Settings. The Media page title is shortened from “Media Settings” to Media, as in the sidebar. The Languages page gains a “Settings / Languages” breadcrumb. The site-wide integrations page is called Integrations again instead of “Website Integrations”, since personal integrations now live under profile settings.

Organization settings

The VAT number on the Organization settings page is optional again. The format is still checked when a number is given; the hint says that VAT or tax ID registration depends on thresholds or is opt-in in most countries. The registration number is now required instead. The Main Countries tab label now uses the same capitals as the other tabs, and its list can be reordered by dragging on touch devices such as an iPad.

Other fixes

  • Flash messages close on their own again after their timeout. They stayed on screen when the page updated an existing message.
  • The Main Page field under General is now Signed-Out Landing Page, with a hint that it is where a visitor who is not signed in lands, also right after signing out, and that leaving it empty means the sign-in page. The setting itself is unchanged.

Upgrading

No migration and no configuration. Update the dependency. Saving the Organization settings now needs a registration number.

Full release notes: PhoenixKit 2.21.0

2.21.0 · 7 September 2026

Added

  • Tabs on the Email Sending and Sitemap settings pages — same treatment as the rest of Settings: Sender Identity / Transport / Local Dev Mailbox / Default Integration / Test Send / Send Profiles for Email Sending, and Sources / Configuration / Quick Actions / Advanced for Sitemap.

Fixed

  • Settings breadcrumb regressions on several pages that don’t call LayoutWrapper.app_layout from a per-page .ex/.heex pair the same way the rest of Settings does — Media (/admin/settings/media and its Dimensions/Health/bucket/dimension sub-pages) and Sitemap (/admin/settings/sitemap) both linked their breadcrumb’s second segment to “Modules” → /admin/modules instead of “Settings” → /admin/settings, even though both live under the Settings sidebar group — the wrong link, not just a mislabeled one. Media’s page title was also shortened from “Media Settings” to “Media” to match the sidebar and stop the breadcrumb truncating to unreadable fragments on narrower screens.
  • Languages settings page had no breadcrumb section at all, showing bare “Languages” instead of “Settings / Languages” like every sibling page.
  • Renamed “Website Integrations” back to plain “Integrations” now that the personal “My Integrations” page (the reason for the “Website” qualifier) lives under Profile Settings instead of colliding with this one.
  • “Main countries” label capitalization on the Organization settings page’s Main Countries tab (was inconsistent with the other tab labels).
  • Drag-and-drop reordering on touch devices (iPad) for the Main Countries list — SortableJS’s fallback drag mode needs touch-action: none on the drag handle, which nothing in the codebase set; added it globally to .pk-drag-handle, plus a larger touch target for this specific handle.
  • Flash notifications no longer auto-dismissed after their timeout — the FlashAutoDismiss hook only started its timer in mounted(), which LiveView doesn’t call again when it patches an existing flash node in place. Added the missing updated() lifecycle callback.
  • VAT/Tax ID on the Organization settings page is optional again (format is still validated when a value is given) — most jurisdictions don’t require every company to register for VAT/a tax ID below a threshold. Registration Number is now required instead, since every incorporated company gets one.
  • The “Main Page” field under General → Site Address is now labeled “Signed-Out Landing Page” with a clearer explanation of what it actually controls (where a signed-out visitor lands, including right after logging out).

PhoenixKit 2.21.0. Install or update: {:phoenix_kit, "~> 2.21"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.