Catalogue 0.14.0: Manual order is back, and translations ship with the package
Catalogue 0.14.0 brings back hand-arranged ordering on the catalogue list, and fixes the Hex package, which had been shipped without its translations and PDF viewer files.
Manual order on the catalogue list
Catalogues can be put in order by hand again. Manual order is an option in the sort dropdown. Drag handles appear only on the full list of active catalogues, without a filter or a search, because reordering part of the list would clash with the positions of the catalogues outside it. The server checks the same condition before it saves, so a reorder can’t run against a filtered list.
Choosing which columns to show no longer drops the current sort.
Translations and the PDF viewer
Until now the package on Hex left out its priv folder. Sites that installed it from Hex saw every catalogue string in English, and the PDF viewer did not load. Both work now.
Upgrading
No migration and no configuration. Update the dependency. Russian and Estonian admins will see the catalogue in their language after the update.
Full release notes: Catalogue 0.14.0
0.14.0 · 11 August 2026
Added
-
Manual ordering is back on the catalogues index (#53). It was lost in
5a01d13, which replaced the folder tree (and its reordering) with a flat sortable table:Catalogue.reorder_catalogues/2survived that commit but lost its only caller, so thepositioncolumn kept existing with nothing able to write it. It returns as a sort option rather than a separate mode — “Manual order” is a sort-only pseudo column (managed?: false), so it appears in the sort dropdown without ever becoming a grid column.Drag handles appear only in the unfiltered, unsearched “active” view, because
reorder_catalogues/2re-indexes exactly the list it is handed into1..Nwith no scope check — reordering a filtered subset would renumber only the visible rows and collide with everything outside the filter.
Fixed
-
priv/is now shipped in the Hex package. It never was, which broke two things for anyone installing from Hex rather than from a checkout: every string rendered in English becausepriv/gettextwas absent, and the PDF viewer failed to load because both delivery routes forpriv/static/pdfjs/(the host’sPlug.Staticmount and core’sPdfViewerControllerfallback) read those assets out of the installed package. Same defect asphoenix_kit_manufacturing#9 andphoenix_kit_warehouse#17. -
Reordering was only guarded on the way in, not on the way back. The drag handles were correctly hidden outside manual order, but
handle_event("reorder_catalogues", …)acted on whatever it received. A hook event is a client message — it can be pushed directly, and it can arrive after the user has applied a filter or switched view — so the renumbering could still run against a subset and produce exactly the duplicatepositionvalues the handle restriction exists to prevent. The handler re-checks the same condition before writing. -
Applying a column selection no longer drops the active sort. It reset
sort_bywhenever the sorted column wasn’t among the displayed ones; sorting doesn’t require a column to be displayed, and both “name” and “position” are deliberately never in that list.
Catalogue 0.14.0. Install or update: {:phoenix_kit_catalogue, "~> 0.14"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.