PhoenixKit 1.7.157: File comments link to their file and shape
PhoenixKit 1.7.157 supports the Comments module’s moderation pages: a comment on a file now shows the file’s name and thumbnail, and a comment on an annotation opens the file with that shape selected.
The rest are layout fixes. On a phone, the Admin Panel prefix in the admin header is hidden when a page has a title, so it no longer covers the theme and notification controls. The media browser header no longer paints over the mobile menu, and in the tablet width the list view no longer shows type and size twice. On the admin media page the browser fills the page and always shows the Folders heading. Pages of other modules can now put their title and subtitle in the admin header. LiveView moves to 1.2.3.
Full release notes: PhoenixKit 1.7.157
1.7.157 · 17 June 2026
Core support for the phoenix_kit_comments admin work — file-comment resolution
and an annotation deep-link — plus admin navbar/MediaBrowser layout fixes and a
dependency refresh.
Added
- File-comment resource resolution.
PhoenixKit.Annotations.resolve_comment_resources/1maps"file"comment resources (including annotation discussions anchored viametadata.annotation_uuid) to the file’s display name and admin media path, plus a signed"thumbnail"URL for images — so the comments moderation admin can link a thumbnail chip instead of showing a bare uuid. Registered as the"file"handler byphoenix_kit_comments, gated on this module being loaded. - Annotation deep-link.
MediaDetailreads?annotation=<uuid>and pushesetcher:select-shape; a newphoenix_kit.jsbridge retrieslayer.selectShape(uuid)until the Etcher canvas layer is ready, so a comment’s chip lands on the file with its shape selected. (No-ops on readonly shapes and on the static mount.) - Plugin admin pages can forward
page_title/page_subtitleto the navbar. The plugin admin layout now passes them through toapp_layout, so plugin pages can drop their in-content header and show the title/subtitle in the navbar breadcrumb (matching the core media page).
Changed
- Dependency refresh:
finch0.22 → 0.23,phoenix_live_view1.2.1 → 1.2.3,sourceror1.12.0 → 1.12.2,tailwindinstaller 0.5.0 → 0.5.1, andreqpinned to 0.5.17. - MediaBrowser admin-page layout. Always show the sidebar “Folders” header, align the breadcrumb row flush with it, and drop the page padding so the browser fills the admin media page.
Fixed
- Mobile admin navbar breadcrumb. When a page has a title, the
Admin Panel /prefix is hidden belowsm(and the title truncates) so it no longer overlaps the theme/notifications controls. - Media browser hero header z-index. The hero’s
z-30(and the toolbar dropdowns’z-20) are confined to the card’s own stacking context viaisolate, so they no longer paint over the mobile drawer/navbar. - Media list view tablet columns. The Type/Size columns now cross over to the folded
mobile meta line at the same
mdbreakpoint as Date, so they’re no longer double-rendered (column + meta line) in the[sm, md)tablet band.
PhoenixKit 1.7.157. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.