Document Creator 0.9.0: One window to edit a template's categories and language
Document Creator 0.9.0 replaces the small pop-up menus for a template’s categories, groups and language with a single Edit template window. Changes are made there and saved together, so filing a template under several categories becomes practical.
One window for categories, groups and language
Until now, each template row had a drop-down with category checkboxes and a group select, and a separate pop-up for the language. Every tick or selection was written to the database at once, and the drop-down lost focus and closed after each change. Editing several categories meant reopening it again and again.
Each template row and card now has an Edit button, with the tooltip Edit template (categories, groups, language). It opens the Edit template window with a Language field and a Categories & groups list: tick the categories the template belongs to and pick a group for each, or leave No group. Nothing is saved until Save, which shows Working… while it writes everything in one go; Cancel drops the changes. The row or card itself now shows a short read-only summary of the template’s language and categories.
Documents are not affected: they keep their single category and type pickers.
Dates in the admin’s language
Dates and times in the module now show the month name in the admin’s language, through PhoenixKit’s translated month names, instead of always in English.
Upgrading
No migration and no configuration change. Update the dependency. Admins who used the old pop-ups will find the same settings behind the new Edit button on each template.
Full release notes: Document Creator 0.9.0
0.9.0 · 25 August 2026
Changed
- Template categories/groups/language now edit through a single modal
(#43). The old per-row dropdown popover (multi-category checkboxes + group
select) and the separate language popover are gone — an “Edit” button opens
a modal where categories, groups, and language are all edited as draft
state and written once on Save, rather than round-tripping to the DB on
every checkbox/select change. The dropdown popover also lost focus (and
closed) on every
phx-changepatch, which made multi-category edits impractical; the modal is a<dialog>and isn’t affected. The row/card now shows a compact read-only summary of the current language + categories. - Date/time display (
format_time/format_datetime) now renders the month name throughPhoenixKit.Utils.Date.short_month/1(locale-translated) instead ofCalendar.strftime’s English-only%b. - Upgraded locked dependencies:
phoenix_kit2.13.5 → 2.13.9,phoenix_pubsub2.2.0 → 2.3.0,swoosh1.27.1 → 1.28.0, plustzadded transitively.
Document Creator 0.9.0. Install or update: {:phoenix_kit_document_creator, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.