Skip to content

PhoenixKit 1.7.176: Activity entries link to their records, rotation is saved

PhoenixKit 1.7.176 links each entry of the activity feed to the record it acted on, and keeps the rotation of an image once an admin turns it in the media viewer.

On the Activity page and an entry’s detail page, the subject is now a link to the post, file or user, with a thumbnail or an icon for its type. Other record types use the paths set for comment moderation. When no link can be found, the entry shows the user’s email or a short id, and the feed still loads.

Rotating an image in the admin media browser or on a file’s admin page now saves the angle, and every viewer, public galleries included, shows the image turned that way. Viewers outside the admin do not save rotation.

Full release notes: PhoenixKit 1.7.176

1.7.176 · 6 July 2026

Added

  • Activity feed entries now deep-link to the resource they acted on. A new shared PhoenixKit.ResourceLinks resolver turns an entry’s (resource_type, resource_uuid) into a navigable link to the underlying record, reusing the comments-moderation two-tier mechanism (auto-registered handler modules for post/file/user, then comment_resource_paths string templates). A core <.resource_link> chip renders the resolved title with a thumbnail or type icon on both the Activity index Subject cell and the detail page, falling back to the resolved user email and then a truncated uuid. Resolution is batched per resource type and fails open to the uuid fallback, so a missing or throwing handler never crashes the admin feed. (#619)
  • Image rotation in the media viewer is now persisted. Rotating an image in the admin media viewer saves the angle to the file row’s metadata["rotation"] and restores it on the next open, via fresco 0.8’s opt-in persist_rotation server bridge. Every viewer (including public galleries) seeds the saved orientation on first paint, but only admin-context hosts — the MediaBrowser modal (gated on @admin) and the admin-only media-detail page — write back to the shared file row. (#618)

Changed

  • Updated fresco to 0.8.0, etcher to 0.7.2, tessera to 0.3.2. fresco 0.8’s new persist_rotation bridge backs the media-viewer rotation persistence above.

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