PhoenixKit 1.7.167: A stacks view for the media browser
PhoenixKit 1.7.167 adds a third view to the media browser next to grid and list: Stacks, which shows each top-level folder as a pile of photos, with loose files under Everything else.
Clicking a pile opens its files in place, and several piles can be open at once. Open piles stay open after a refresh or going back, in the same browser. Each pile loads its files a page at a time with Load more, so a large folder stays quick. Files can be dragged between piles, and each card has its own menu to download, move or trash it. The animation is skipped for visitors who ask their system for reduced motion.
The folder header editor now stays inside the window, so its save button can be reached when the browser is embedded low on a page. Russian and Estonian translations were completed.
Full release notes: PhoenixKit 1.7.167
1.7.167 · 26 June 2026
Added
- Basecamp-style “stacks” view for the MediaBrowser. A third view mode
(alongside grid/list) renders top-level folders as photo “piles” with loose
files under “Everything else”. Clicking a pile opens its grid inline (multiple
open at once, newest on top) with a FLIP fly-out/fly-back animation that fires
only on explicit open/close — restores on refresh/navigate-back are instant and
flash-free (
prefers-reduced-motionrespected). Open stacks persist across refresh/navigation inlocalStorage(StackMemoryhook), scoped per virtual-root. Each stack paginates independently (load_more_stack, one page at a time) so a folder with thousands of files stays fast, and supports drag-drop of media between stacks / “Everything else” with the drop outline tinted to the folder’s own colour. Per-file kebab menu (Download / Move / Trash) on stack cards mirrors grid view. (#608) ViewportPopoverJS hook. Clamps the folder Edit-header popover to the viewport (flips it to open upward when there’s more room above, pins Save/Done as a non-scrolling footer), so Save stays reachable when the browser is embedded low in a page. (#608)
Changed
- Bumped the
:ex_astdependency 0.12.0 → 0.12.1 (lockfile).
Fixed
Created by %{name}ru/et translation. The folder-header creator label was added to the Estonian/Russian catalogs as afuzzyauto-fill that both mistranslated it (“Create” imperative) and dropped the%{name}placeholder — inert today (gettext falls back to English for fuzzy entries) but a latent landmine if the flag were ever cleared. Corrected toСоздал %{name}/Loonud %{name}and de-fuzzed so the proper translation is active.
i18n
- Estonian + Russian translation of the newly-surfaced MediaBrowser strings (and
other recent additions); previously-empty catalog entries dropped from 14 to 1
in both locales.
%{...}placeholders, markdown links and arrows preserved. (#608)
PhoenixKit 1.7.167. Install or update: {:phoenix_kit, "~> 1.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.