Skip to content

PhoenixKit 1.7.138: Media folders get descriptions

PhoenixKit 1.7.138 lets admins describe media folders and gives the media page the full screen. It carries 1.7.134 to 1.7.137, which were not published on Hex.

Inside a folder, Add a folder description opens an editor under the breadcrumb. In grid view the folder card shows the description and its menu offers Add description or Edit description. List view gains a Description column. Descriptions hold up to 2000 characters, and Escape cancels the editor.

/admin/media now fills the width and height of the screen, and the file grid scrolls inside it. The grid or list choice is saved per user and drawn on first load, so a list view no longer flashes up as a grid. Leaf 0.2.22 stops links from doubling into [[label](url)](url) each time rich text with a link is saved.

Upgrading

Run mix phoenix_kit.update for V132.

Full release notes: PhoenixKit 1.7.138

1.7.138 · 9 June 2026

Fixed

  • Media browser: removed the dead client-side view-mode persistence left over from the 1.7.136 server-side switch. The MediaDragDrop hook no longer writes the now-unread phoenix_kit_media_view_mode localStorage key (or the data-view-mode button attrs / dataset.mediaView) — view mode is persisted per-user in custom_fields and rendered on first paint.
  • Media browser: the current-folder header description editor now cancels on Escape, matching the grid-card and list-row editors.

Changed

  • Media browser: folder-description textareas are debounced (phx-debounce="300") so editing no longer round-trips on every keystroke, and the description editor resolves the folder from already-loaded assigns instead of issuing a redundant query on open/save.

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