PhoenixKit 1.7.156: Search finds folders, and new folders get a name first
PhoenixKit 1.7.156 makes folders easier to work with in the media browser: a name search also finds folders, and a new folder is named in a dialog before it is created.
Search finds folders in the same scope as files: the folder you are in, or everything at the top level. Creating a folder opens a dialog for its name; left blank, it becomes “untitled”, and cancelling adds nothing. Before, an “untitled” folder appeared in the sidebar at once. The lines in the folder tree from the top folder down to the current one are now darker, so you can see where you are.
Renaming the folder you are looking at now also updates the header above the files. The media browser layout on phones is cleaner. The Leaf editor moves to 0.3.
Full release notes: PhoenixKit 1.7.156
1.7.156 · 16 June 2026
MediaBrowser folder UX polish (folder-aware search, a name-it modal, an active-branch sidebar highlight, and a clean mobile layout) plus dependency upgrades.
Added
- Folder results in media search. A name search in the MediaBrowser now
surfaces matching folders alongside the matching files, scoped exactly like
the file search (a folder’s direct children when inside one, the whole subtree
at a scope root, everything at the real root). Backed by a new
PhoenixKit.Modules.Storage.search_folders/3. - New-folder name modal. Creating a folder opens a modal to name it — with
an
"untitled"/"untitled N"placeholder default when left blank — instead of immediately dropping an inline-rename"untitled"folder into the sidebar. Cancel adds nothing. TheFolderExplorer’s create button now emitsopen_new_folder_modal(wascreate_untitled_folder). - Active-branch highlight in the folder sidebar tree. The guide-line connectors from a root folder down to the current folder are darkened (same hue, bolder alpha) so you can trace the branch you’re inside. Suppressed in trash view.
Changed
- Cleaner MediaBrowser mobile layout.
- Dependency upgrades:
leaf0.2 → 0.3 (its markdown backend swapped fromearmarkto themdexRust NIF — transparent to PhoenixKit, which keeps its own directearmarkdep forComponents.Core.Markdown),tailwindinstaller 0.4 → 0.5,floki0.38.4.
Fixed
- Folder rename now updates the hero header title. Renaming a folder from the sidebar keeps the hero header (and an open Edit-header panel) in sync when the renamed folder is the one being shown — it no longer kept the pre-rename name.
- Media sidebar active-turn corner. Sharp for a mid-branch turn, rounded for the last child.
PhoenixKit 1.7.156. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.