Skip to content

Catalogue 0.28.1: Safer clean-up of AI translations and full-width forms

Catalogue 0.28.1 makes the clean-up of AI translations more careful, so real product notes are no longer cut off, and gives the admin forms the full page width.

AI translation models sometimes add their own remark to a translated value, such as “(Note: I’ve omitted the fields …)”. The module removes such remarks. Before, any value with a “Note:” paragraph was cut there, so a translated care instruction or sizing note lost that text and everything after it. Now a note is only removed when it talks about the translation itself, for example a field, a placeholder or something “as instructed”. It also catches a “Notes:” list and a “Note that …” remark.

Also in this release:

  • The item, category and catalogue forms use the full page width instead of a narrow column.
  • The attribute sets list now pages with a load more button that shows how many sets are loaded, instead of previous and next buttons.
Full release notes: Catalogue 0.28.1

0.28.1 · 7 September 2026

Fixed

  • strip_ai_note/1 false-positive shape checks improved, plus a truncation bug in its own fix (#98) — the leaked-AI-note backstop now also catches an enumerated Notes: paragraph and a colon-less Note that ... aside, and requires plain translation-process language (“field”, “placeholder”, “was skipped”, …) before cutting anything, so legitimate product asides that merely open with “Note:” (care instructions, sizing disclaimers, color names) are left alone. That content check itself scanned to the end of the string rather than just the anchored aside’s own paragraph — a trigger word in a later, unrelated paragraph could cut a legitimate note plus everything after it. Now bounded to the anchored paragraph.
  • Admin item/category/catalogue forms were clamped to a narrow max-w-2xl column (#99) — now use the host’s full-width container class, matching the rest of the admin UI.
  • Attributes tab’s prev/next pagination replaced with core’s <.load_more> (#99) — an append-only “Showing N of M” + button model, consistent with how other lists in the admin UI page.

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