PhoenixKit 2.22.1: Tabs on Media settings and public Edit links
PhoenixKit 2.22.1 splits the Media settings page into tabs and gives developers a supported way to put an Edit link on public pages.
/admin/settings/media now has Buckets, Configuration and Quick Actions tabs. The warnings about missing ImageMagick or FFmpeg stay above the tabs, since they apply to all of them.
A public page can now declare its matching admin page with PhoenixKitWeb.AdminEditHelper.assign_admin_edit/3, and the new <.admin_edit_link /> component shows the Edit link, as a button or a menu item. The link can also be limited to users with access to a given module. When there is nothing to edit, the component shows nothing, so it can sit in a public layout permanently. Details are in guides/integration.md.
Full release notes: PhoenixKit 2.22.1
2.22.1 · 8 September 2026
Added
- Tabs on the Media settings page (
/admin/settings/media) — Buckets / Configuration / Quick Actions, the same<.nav_tabs>treatment already applied to Email Sending and Sitemap. The ImageMagick/FFmpeg dependency warnings stay above the tab strip since they apply regardless of which tab is open. - Public “Edit link” API —
PhoenixKitWeb.AdminEditHelper.assign_admin_edit/3is now a documented public API: a host LiveView or a module’s own public controller/LiveView calls it to declare a public page’s matching admin edit target. The label argument now also accepts a keyword list (label:,permission:), gating the link on a specific module’sScope.has_module_access?/2in addition to the existing admin-area check, while every existing string-label call site keeps working unchanged. A newPhoenixKitWeb.Components.Core.AdminEditLink.admin_edit_link/1component (<.admin_edit_link .../>) renders the link — as a standalone button or a:menu_itemfor dropdowns — and renders nothing when there is no URL, so hosts can drop one line into their public layout unconditionally. See the “Edit link on public pages” section inguides/integration.md.
PhoenixKit 2.22.1. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.