Skip to content

Catalogue 0.21.0: Attribute sets are edited in Entities, with an items preview

Catalogue 0.21.0 hands the editing of attribute sets to the Entities module, adds a popup that shows the items using a set, and stops the attribute filter from offering values that return nothing.

Attribute sets

The catalogue’s own attribute set editor is gone. On the attributes tab, the hint now reads “Sets are edited in the Entities module.”, and creating a set takes you to Entities with Create and edit in Entities. A set’s item count is now a button: it opens a read-only list of the items that use the set, with photo, name, catalogue and category, selling price, the values chosen from that set, and status. The list is searchable, 25 to a page, and each name links to the item’s editor.

Search and filtering

Item search and the counts next to the attribute filter now match in exactly the same way, so they can no longer disagree. The filter greys out or hides values that would give no results with the current selection.

Item picker options

For developers embedding the single-item picker: :show_sku adds a SKU column, :photo_placeholder shows a clickable placeholder for items without a photo, and :photo_size sets the thumbnail size. All are off or unchanged by default.

Upgrading

No migration. Update the dependency. Bookmarks to the old attribute set pages (/admin/catalogue/attributes/sets/new and .../sets/<id>/edit) no longer work; edit sets in Entities.

Full release notes: Catalogue 0.21.0

0.21.0 · 28 August 2026

Added

  • Attributes viewer, honest search, and a filter that only offers what it can deliver (#84) — the old 1273-line attribute-set editor LiveView is replaced by a read-focused viewer (AttributeSetItemsModal); listing search and facet-count search now share one match fragment so the two can no longer disagree; the attribute-value filter greys out/hides values that would return zero results given the current selection instead of offering dead-end options.
  • ItemPicker :show_sku (#82) — opt-in SKU column on dropdown rows (em dash when the item has no SKU on file). Defaults to false.
  • ItemPicker :photo_placeholder and :photo_size (#83) — opt-in clickable placeholder for photo-less items when :photo_clickable is also set, and a configurable thumbnail size. Both default to the existing behaviour.

Fixed

  • Post-merge review of #82–#84: an <.icon class={[...]}> list value in item_picker.ex (from #83) failed mix compile --warnings-as-errors, blocking the release gate — fixed to a plain interpolated string. See dev_docs/pull_requests/2026/84-attributes-viewer-honest-search-filter/CLAUDE_REVIEW.md.

Catalogue 0.21.0. Install or update: {:phoenix_kit_catalogue, "~> 0.21"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.