Catalogue 0.16.0: Folders work like a file explorer and PDFs need no system tools
Catalogue 0.16.0 turns the folders on the catalogue list into a file explorer with drag and drop, and reads the text of uploaded PDFs itself, so the server no longer needs extra system packages for PDF search.
Folders as a file explorer
The catalogue list now shows folders as a tree you can open level by level, with arrows to expand them and an up row to go back. Catalogues and folders can be dragged anywhere, and both share one hand-set order on each level. A New folder goes to the front of its level, and an empty folder can be deleted for good. In card view, folders show as boxes that group their catalogues.
The admin pages now use PhoenixKit’s breadcrumb in the header. On a catalogue’s page, Add Category is only offered at the top level, new categories are added at the end, and column changes apply at once without an apply step.
PDF text built in
PDF text is now extracted inside the app with pdfium, which comes as a precompiled library during mix deps.get. Poppler is still used as a fallback when it is installed. The activity log records which engine read each PDF.
Fixes
- A failed PDF extraction was never retried, even with three attempts allowed, and a PDF with no pages counted as a success. Both now retry.
- New folders and catalogues could land in the middle of a level that held only the other kind.
- Reorder all in the folder tree undid the order within each level; it is now only offered on the flat list.
- Saving the columns of one table on a catalogue’s page could reset the other table’s columns.
- Reopening the item picker while it still holds the chosen item’s name now lists the first page instead of searching for that name.
Upgrading
No migration. Catalogue 0.16 needs PhoenixKit 2.8 or later. mix deps.get fetches the new ex_pdfium dependency; poppler is no longer required.
Full release notes: Catalogue 0.16.0
0.16.0 · 16 August 2026
Added
- Folders as a file explorer on the catalogues index (#67). Inline
tree with drill, chevrons, Up row, and drop-anywhere drag-and-drop;
card view mirrors the tree as folder group boxes. Folders and
catalogues share one interleaved manual order per level
(
place_level_rows/2). New folders sort to the front of their level; empty folders delete permanently (delete_empty_folder/2). - In-app PDF text extraction via pdfium (
ex_pdfiumprecompiled NIF) with poppler as a fallback when installed. Hosts no longer need system packages for PDF search. The winning engine is recorded on thepdf.extractedactivity.
Changed
- Admin headers use the core breadcrumb (
page_crumbs). The detail page trail lives in the header; the in-page slot is the level description. Add Category is root-only; categories append at creation; columns editors are live (no Apply). - Item picker reopen browses the empty-query first page when the input still holds the selected item’s name (#63 follow-up).
- Catalogue/folder position writers share one
pg_advisory_xact_lock(issue #56), including create/move/delete — not only the three reorder functions. - Minimum
phoenix_kitraised to~> 2.8— headers, live columns, and UrlState (#719) live there. 2.3–2.7 failwarnings-as-errors.
Fixed
- Oban PDF retries were a no-op.
fail/2marked the rowfailedand the next attempt short-circuited as success, somax_attempts: 3never re-ran. Failed rows stay retryable until the last attempt;mark_extracted/mark_scanned_no_texterrors now propagate. page_count == 0was stored as a successful extraction, which blocked retry. pdfium/poppler now treat an empty document as an open failure and continue the chain.- New folders/catalogues ignored the other type when picking a position, so a catalogue filed into a folder-only level (or a folder created on a catalogue-only level) landed in the middle of the interleaved order.
category_uuids_with_children(:deleted)counted active children, lighting a chevron whose deleted-view child list was empty.place_level_rows/2rejected nothing: mixed-level payloads rewrote another level’s positions, and an unknown type crashed the LiveView inside the transaction.- “Reorder all” in the folder tree rewrote a global catalogue
1..Nand undid the interleaved per-level order. The button and handler are flat-list only now. - Detail-page column editor overwrote the other table’s columns on
the next save (
custom_fieldsis a whole-column write; the user snapshot was stale). - A stale folder filter after deleting or watching another tab hide the tree and empty the flat list.
Catalogue 0.16.0. Install or update: {:phoenix_kit_catalogue, "~> 0.16"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.