PhoenixKit 2.22.24: Tidier media viewer controls and stricter editor pins
PhoenixKit 2.22.24 tidies the controls of the media viewer and makes sure the annotation editor’s two halves always match.
On a desktop with the details sidebar open, the button that hides it now sits on the line between the image and the sidebar. When the sidebar is collapsed, and on phones, the button stays inside the viewer. The previous and next arrows sit a little further from the image edge. The annotation style panel now opens below the viewer’s details button instead of in the same row.
PhoenixKit loads the browser part of Etcher, the annotation editor, and of the Fresco and Tessera viewers from fixed versions. Their Elixir parts could still drift to a newer version than that browser code. The requirements now stop at the version the browser code comes from, and Etcher must be at least 0.13.2.
Upgrading
A project whose lock file holds Etcher 0.12 now gets a dependency error naming etcher. Update it with mix deps.update etcher.
Full release notes: PhoenixKit 2.22.24
2.22.24 · 12 September 2026
Changed
- Etcher pinned to 0.13.2 (#803) —
mix.lockand theETCHER_CDNtag inpriv/static/assets/phoenix_kit.jsmove together. Both media-viewer embeds (the lightbox and theviewer_onlypage) pass the newpanel_offset={%{top: 56}}, so Etcher’s style-panel chevron anchors below the viewer’s details button instead of sharing its row. - The media viewer’s sidebar toggle sits on the viewer/sidebar seam (#803) on desktop with the sidebar expanded, hosted in a zero-width column between the panels (the viewer clips and the sidebar scrolls, so neither can hold it). Collapsed and stacked-mobile layouts keep the in-viewer button. The prev/next arrows gained 16px of inset from the image edge.
Fixed
- The
:fresco,:tesseraand:etcherrequirements now stop at the pinned minor (#802) — the same patch-less-~>bug 2.22.21 fixed for:leaf:~> 0.10,~> 0.3and~> 0.9each meant< 1.0.0, letting a host float the Elixir half past the exact jsDelivr tag core serves the browser half from.vendored_cdn_pins_test.exsnow holds every pinned sibling’s ceiling to its pinned minor. Resolution is unchanged. - The
:etcherfloor is raised to 0.13.2. Core’s markup passespanel_offset(Etcher 0.13.2) andconnectors={:off}(0.12.2), andphoenix_kit.jsbridgesetcher:tooltip-action(0.13.0), but the requirement still admitted 0.9.0. A host whose lock held etcher 0.12.x kept it throughmix deps.update phoenix_kit: the attrs were silently dropped (connector anchors reappeared on the lightbox) and the 0.13.2 bundle ran against a 0.12 server half. Such a host now gets a resolver error naming etcher instead.
PhoenixKit 2.22.24. Install or update: {:phoenix_kit, "~> 2.22"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.