Skip to content

Catalogue 0.1.13: Catalogue pages keep their place while others edit

Catalogue 0.1.13 stops a catalogue’s page from jumping back to the top whenever someone else changes something, and lets smart items be sorted into categories.

Before, any change anywhere in the module, by another admin or by a running import, reloaded every open catalogue page from the start. With a busy import this could leave the page stuck loading. A page now reacts only to changes in its own catalogue, and updates its counts and category tree in place without losing the scroll position. An item deleted elsewhere can stay visible until the page is reloaded, but the counts are right. An import now sends one update when it finishes instead of one per row.

The item form now shows the category and manufacturer fields for smart items too. They only organise the items; the pricing rules are unchanged.

Full release notes: Catalogue 0.1.13

0.1.13 · 26 April 2026

Added

  • parent_catalogue_uuid on PubSub broadcasts for scoped detail-view updates
  • refresh_in_place/1 — updates counts/category tree without wiping scroll state
  • Smart items can now be assigned categories and manufacturers for organization
  • Import executor emits single roll-up broadcast instead of per-row events

Changed

  • PubSub.broadcast/3 now accepts optional parent_catalogue_uuid (backward-compatible)
  • log_activity/2 supports broadcast: false opt for bulk operations

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